-
Notifications
You must be signed in to change notification settings - Fork 101
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
Type 'Timer' is not assignable to type 'number' #123
Comments
@katyapavlenko I'm familiar with this error as I've seen it in TS projects that use The only reason I can think that the inclusion of I just did a quick Internet search and it does seem that you are not alone in having this error, and this stack overflow post might be worth checking to see if it fixes your problem. (in short, they suggest to try using |
I don't like hacks like this, so i just used |
Cool, no problem at all - glad you found a solution. The fact that Thanks again for reporting the issue. |
The solution to this is to use Assuming global context is a bad idea anyways. :) |
You are right, but in terms of developing an opensource package it's better to be ready for any code and not only for proper one :) |
After adding this package to my angular project, I got compilation errors. If i remove the module import, everything operates normally
leads to
error TS2322: Type 'Timer' is not assignable to type 'number'.
If i remove import – everything operates normally
versions:
The text was updated successfully, but these errors were encountered: