File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -436,8 +436,8 @@ export function toError(errorOrMessage: unknown, defaultMessage = "Unknown Error
436436/**
437437 * Unrefs a timeout or interval. When called, the active Timeout object will not require the Node.js event loop to remain active
438438 */
439- export function allowProcessToExitWithoutWaitingForTimerOrInterval ( timeoutOrIntervalId : ReturnType < typeof setTimeout > | ReturnType < typeof setInterval > | undefined ) : void {
439+ export function allowProcessToExitWithoutWaitingForTimerOrInterval ( timeoutOrIntervalId : ReturnType < typeof setTimeout > | undefined ) : void {
440440 if ( typeof timeoutOrIntervalId === "object" && "unref" in timeoutOrIntervalId ) {
441- ( timeoutOrIntervalId as { unref : ( ) => ReturnType < typeof setTimeout > | ReturnType < typeof setInterval > } ) . unref ( ) ;
441+ ( timeoutOrIntervalId as { unref : ( ) => ReturnType < typeof setTimeout > } ) . unref ( ) ;
442442 }
443443}
You can’t perform that action at this time.
0 commit comments