Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.

Type 'Timer' is not assignable to type 'number'. #392

Closed
cam-peterson opened this issue Oct 29, 2016 · 1 comment
Closed

Type 'Timer' is not assignable to type 'number'. #392

cam-peterson opened this issue Oct 29, 2016 · 1 comment
Labels

Comments

@cam-peterson
Copy link

I got this error: client/connection.ts(197,2): error TS2322: Type 'Timer' is not assignable to type 'number'.

Changing to window.setTimeout fixed it. microsoft/TypeScript#842 (comment)

@bakape bakape closed this as completed in 39c32a3 Oct 29, 2016
@bakape bakape added the bug label Oct 29, 2016
@bakape
Copy link
Owner

bakape commented Oct 29, 2016

Yeah, just got it after upgrading Typescript. Seems like a regression, but fixed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants