-
Notifications
You must be signed in to change notification settings - Fork 102
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
Implementing in Typescript project #41
Comments
Yikes! Sorry you're running into that. I'll take a look. |
I've tested this locally with v2.7.0 and it's behaving much better. Please re-open if you're still having trouble. |
Thanks for the fix! Is the idea that the package should work fully without installing a separate @types package or making a module declaration file? This isn't the case now, since it has an implicit any type. I bypassed this issue by creating my own react-confetti.d.ts file, but that of course means no autocomplete or type completion. |
Hi!
I'm having problem including the confetti in my project built with create-react-app using the
--typescript
flag. For some reason all props seem to be mandatory, since the defaults aren't taking into consideration. Am I including it correctly, or is Typescript not supported?The text was updated successfully, but these errors were encountered: