-
Notifications
You must be signed in to change notification settings - Fork 100
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
TS errors when importing #209
Comments
Hey @mnpqraven |
Or your typescript version. |
I've upgraded |
I've managed to solve the errors during build by bumping |
@mnpqraven The library does not have TypeScript as a dependency. It uses the host app version. |
Describe the bug
In the new version of 'react-inlinesvg' the return type of the component contains
undefined
and will lead to typescript errors. I have my repo setup to cancel builds when there are typescript errors and therefore can't build with the current version of 'react-inlinesvg'. For now I've downgraded to3.0.3
and it works without errorsLink to repl or repo (highly encouraged)
The errors can be seen at the example codesandbox
The text was updated successfully, but these errors were encountered: