-
Notifications
You must be signed in to change notification settings - Fork 33
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
Issue with types #33
Comments
Hi @eugeneshulga869, which version of TypeScript are you using? The definition provided with the package uses Labeled Tuple Elements to make things more readable. If you're a version of TypeScript <4 this could explain the issue. |
I think I got a similar problem. I included the package in my react app and then the types were not resolved correctly:
Using Typescript 4.3.5 |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
This was causing TS problems in client apps. fix #33
Thanks @daniel-rck for the additional info. I've just published a new version v1.1.2 that should resolve this. Please let me know if you're still having a problem! |
Failed to compile.
./node_modules/react-snowfall/lib/Snowflake.d.ts:10:27
Type error: ',' expected.
8 | * The default value is
[0.5, 3.0]
.9 | */
The text was updated successfully, but these errors were encountered: