-
-
Notifications
You must be signed in to change notification settings - Fork 701
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
Statements are not allowed in ambient contexts #165
Comments
@SDSLeon I published the fix. Is there any way to test a definition file with typescript ? |
import { Slide, Zoom, Flip, Bounce } from 'react-toastify'; also should be added to index.d.ts; |
@SDSLeon thanks a lot: Is that ok if I do the following for each component: export Class Slide extends Components<any, any>{} I'm a typescript noob btw |
@SDSLeon thanks a lot for your help, I appreciate. I published the fix, I hope this time it's ok 😀 |
@fkhadra excellent. For me all works as expected right now. |
Thanks again |
Typescript version 2.8.1
toastify version 4.0.0-rc2
The text was updated successfully, but these errors were encountered: