-
-
Notifications
You must be signed in to change notification settings - Fork 296
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
Types from *.d.ts
files are not parsed in node_modules
#929
Comments
There are currently two issues with types that are imported from .d.ts files:
With an increasing number of reusable hooks and headless components, it is becoming common for component libraries to extend prop interfaces exported from third-party packages. Looking forward to improvements in this area, and I could also look into possible solutions for the first point. Also related: #416, #352, storybookjs/storybook#10034 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If an installed package would deliver type informations with
d.ts
files, it won't parse these files and interface informations are missing in the props.It could be fixed in the
makeFsImporter.ts
file with a simple addition:But i didn't want to make another pull request because i'm not sure if this is a nice way to solve it.
The text was updated successfully, but these errors were encountered: