-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
All props are listed as type 'unknown' #11226
Comments
|
Hi @shilman thanks for the reply - I was actually using both but I've now removed As such it is probably worth re-labelling this issue to |
Can you try upgrading to 6.0? We've smoothed out a lot of this there. Quick & dirty migration guide #9311 |
@shilman thanks for your suggestion - it indirectly fixed my problem. From the migration guide, So TL;DR: user error - outdated CRA preset. Thanks for your help. |
@redders6600 thanks for letting me know about the typo. Fixed! And glad you got it sorted!! |
I'm using storybook 5.3.19 with a CRA project that I have migrated to typescript (it was previously JS and I was using
PropTypes
), however all of the props listed in my stories are displayed as 'other'. I am not sure where to start debugging this...Example:
BasicSpan.tsx
BasicSpan.stories.tsx
This is the output of
Docgen.parse
:The text was updated successfully, but these errors were encountered: