diff --git a/packages/client/src/timers/index.ts b/packages/client/src/timers/index.ts index cadc3259e2..7cb68b9553 100644 --- a/packages/client/src/timers/index.ts +++ b/packages/client/src/timers/index.ts @@ -98,7 +98,7 @@ class TimerWorker { } if (this.fallback) { - this.clearInterval(id); + (type === 'clearTimeout' ? clearTimeout : clearInterval)(id); return; }