Fix setTimeout/setInterval typing
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user