Fix setTimeout/setInterval typing

This commit is contained in:
Michael Telatynski 2021-07-12 09:02:46 +01:00
parent 9b7697c530
commit a645cebb49
11 changed files with 13 additions and 13 deletions

View file

@ -26,7 +26,7 @@ Once a timer is finished or aborted, it can't be started again
a new one through `clone()` or `cloneIfRun()`.
*/
export default class Timer {
private timerHandle: NodeJS.Timeout;
private timerHandle: number;
private startTs: number;
private promise: Promise<void>;
private resolve: () => void;