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 b8cd100 commit 28e3add
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 @@ -19,7 +19,7 @@ export const clearTimeout: typeof timers.clearTimeout =
globalThis.clearTimeout?.bind(globalThis) || noop;

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

0 comments on commit 28e3add

Please sign in to comment.