-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Props cannot extend from an interface using Pick
#22
Comments
So I’ve ran into this issue with a very similar example. After some debugging I realized that parsing is fine when Pick is used for just one property, but using Pick for more than one element leads to an error. EDIT: Using 1.0.0 |
pvasek
added a commit
to pvasek/react-docgen-typescript
that referenced
this issue
Sep 8, 2017
pvasek
added a commit
to pvasek/react-docgen-typescript
that referenced
this issue
Sep 8, 2017
pvasek
added a commit
to pvasek/react-docgen-typescript
that referenced
this issue
Sep 8, 2017
pvasek
added a commit
that referenced
this issue
Sep 8, 2017
Props extended from Pick fails - #22 fixed
Release v1.0.2 which has just been published should fix this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
Pick
operator allows us to specify a subset of properties from another interface. However this causes a parsing error in the file, and it crashes and fails to generate anything at all for this class.Gives the following error:
The text was updated successfully, but these errors were encountered: