Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 4032ddf

Browse files
vikermanmhevery
authored andcommitted
fix(node): remove reference to 'noop' (#865)
The symbol doesn't exist when compiling node files stand alone.
1 parent b0c5076 commit 4032ddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/node/node.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Zone.__load_patch('node_timers', (global: any, Zone: ZoneType, api: _ZonePrivate
3333
globalUseTimeoutFromTimer = true;
3434
return originSetTimeout.apply(this, arguments);
3535
};
36-
const detectTimeout = global.setTimeout(noop, 100);
36+
const detectTimeout = global.setTimeout(() => {}, 100);
3737
clearTimeout(detectTimeout);
3838
timers.setTimeout = originSetTimeout;
3939
}

0 commit comments

Comments
 (0)