-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Storyshots gives "implicit any" / "can't find module" errors #1181
Comments
What was your fix ? I'm also having the issue. |
@HBCharles There were several issues that we worked through. For reference we are using react-scripts-ts.
This is due to using declare module '@storybook/addon-storyshots'
This issue was the trickiest. Ultimately the fix I found is wmonk/create-react-app-typescript#78. I'm using a fork until/if that pull is merged. Hope this helps! |
@mattleff @HBCharles Re #1166 we have |
@shilman Thanks for that, it's great! Until all the addons have types the |
I'm trying to set up Storyshots in my project.
Storyshots.test.ts
looks like this:When I run the tests, the test runner gives me this error:
My IDE highlights the
import
statement inStoryshots.test.ts
with this error:Here are the versions I'm on:
How can I fix this?
The text was updated successfully, but these errors were encountered: