-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Typescript build fail when removing @types/storybook__react #8110
Comments
This might be a typing bug. @kroeder fixed this for Angular by removing those typings from |
I can remove that line from my node_modules and see if it build. If it does I can remove them all for the different apps and add that to my PR |
Just to be clear, I don't know what the right fix is. Maybe we need to add the dep across the board. Maybe we need to move it from tsconfig.json across the board. Or maybe it's case by case. I don't know enough about what's going on, just making sure the right hand is talking to the left. 😅 |
Just to confirm, i'm now not seeing this oddly, i think it may be linked to addon-docs, which im having trouble setting up with TS. Will investigate further and come back to you! Thanks! |
If it's a needed type it for sure needs to be moved from devDeps to deps somewhere. |
Crikey!! I just released https://github.com/storybookjs/storybook/releases/tag/v5.3.0-alpha.3 containing PR #8119 that references this issue. Upgrade today to try it out! You can find this prerelease on the |
Shiver me timbers!! I just released https://github.com/storybookjs/storybook/releases/tag/v5.2.2 containing PR #8119 that references this issue. Upgrade today to try it out! |
My understanding is that the
@types
package is no longer needed for@storybook/react
. However when i uninstall the module i get the below error when trying to build my project.Have i misunderstood ?
The text was updated successfully, but these errors were encountered: