Skip to content

Commit

Permalink
Update src/runtime/node/timers/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Pooya Parsa <[email protected]>
  • Loading branch information
vicb and pi0 authored Jan 16, 2025
1 parent a901279 commit b8cd100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/node/timers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const clearImmediate: typeof timers.clearImmediate =
export const clearInterval: typeof timers.clearInterval =
globalThis.clearInterval?.bind(globalThis) || noop;
export const clearTimeout: typeof timers.clearTimeout =
globalThis.clearTimeout.bind(globalThis) || noop;
globalThis.clearTimeout?.bind(globalThis) || noop;

export const setImmediate: typeof timers.setImmediate =
globalThis.setImmediate.bind(globalThis) || setImmediateFallback;
Expand Down

0 comments on commit b8cd100

Please sign in to comment.