Fix setTimeout/setInterval typing
This commit is contained in:
parent
9b7697c530
commit
a645cebb49
11 changed files with 13 additions and 13 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue