From 790c60519b26794009c280b39c827bfc39dee2ec Mon Sep 17 00:00:00 2001 From: Matvei Andrienko Date: Wed, 6 Nov 2024 12:36:37 +0100 Subject: [PATCH] fix: typo --- packages/client/src/timers/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }