diff options
Diffstat (limited to 'js/timers.ts')
-rw-r--r-- | js/timers.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/timers.ts b/js/timers.ts index d12205317..4b8596cb7 100644 --- a/js/timers.ts +++ b/js/timers.ts @@ -262,6 +262,7 @@ function clearTimer(id: number): void { } export function clearTimeout(id: number = 0): void { + checkBigInt(id); if (id === 0) { return; } @@ -269,6 +270,7 @@ export function clearTimeout(id: number = 0): void { } export function clearInterval(id: number = 0): void { + checkBigInt(id); if (id === 0) { return; } |