Skip to content
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

React typing errors when transpiling using tsc #17379

Closed
archfisv opened this issue Feb 1, 2022 · 1 comment
Closed

React typing errors when transpiling using tsc #17379

archfisv opened this issue Feb 1, 2022 · 1 comment

Comments

@archfisv
Copy link

archfisv commented Feb 1, 2022

Describe the bug
A lot of typing errors (especially related to @types/react-syntax-highlighter), like:

image

image

To Reproduce

  1. Storybook html v6.4.16.
  2. Run tsc.

Additional context
No such errors in Storybook v6.4.14. I guess the problem is caused because of some conflicting old react packages.

@archfisv
Copy link
Author

archfisv commented Feb 1, 2022

Workaround: tsconfig.json -> "skipLibCheck": true,

@archfisv archfisv closed this as completed Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant