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'. #25
Comments
yes, I have seen this thing, but it is not relevant to |
@be4code so what starter are you using? |
I'm using https://github.com/mgechev/angular2-seed but they told me how to use ng2-bootstrap with the seed. |
ok, I have found it: https://github.com/borisyankov/DefinitelyTyped/blob/master/node/node.d.ts#L36-L39 |
Maybe you can just force the type |
published as 0.44.5 |
@valorkin didn't fixed the compiler error. But this did: |
but then all will have to install node tsd even if they use ng2-bootstrap from .net |
Yeah I know and it's a problem ... here is the branch |
@ludohenin fixed in 0.44.6, setInterval type doesn't worse to force ppl use tsd :) |
please approve and I am closing this issue |
Works like a charm :) |
Write to me if anything :) |
I found this while roaming :). This how Timer issue is handled in ng2 source. |
cool, looks good |
I've got version 0.44.3:
ng2-bootstrap/components/carousel/carousel.ts(145,7): error TS2322: Type 'Timer' is not assignable to type 'number'.
The text was updated successfully, but these errors were encountered: