blob: 7a0441345901494b20b8bc69e09a1e3c21477292 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Document: WR-003 P. Webb
2024.11.05
setInterval - Type "Timer" is not assignable to type "number"
Body
Ran into a linting issue with Typescript when using setInterval for
something. This comment from 2017[1] saved me:
> Use `window.setInterval` instead.
References
[1] <https://github.com/TypeStrong/atom-typescript/issues/1053#issuecomment-321126192>
|