Skip to content

Commit 790c605

Browse files
committed
fix: typo
1 parent 67148d9 commit 790c605

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/client/src/timers/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class TimerWorker {
9898
}
9999

100100
if (this.fallback) {
101-
this.clearInterval(id);
101+
(type === 'clearTimeout' ? clearTimeout : clearInterval)(id);
102102
return;
103103
}
104104

0 commit comments

Comments
 (0)