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

Commit

Permalink
fix(node): remove reference to 'noop' (#865)
Browse files Browse the repository at this point in the history
The symbol doesn't exist when compiling node files stand alone.
  • Loading branch information
vikerman authored and mhevery committed Aug 4, 2017
1 parent b0c5076 commit 4032ddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/node/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Zone.__load_patch('node_timers', (global: any, Zone: ZoneType, api: _ZonePrivate
globalUseTimeoutFromTimer = true;
return originSetTimeout.apply(this, arguments);
};
const detectTimeout = global.setTimeout(noop, 100);
const detectTimeout = global.setTimeout(() => {}, 100);
clearTimeout(detectTimeout);
timers.setTimeout = originSetTimeout;
}
Expand Down

0 comments on commit 4032ddf

Please sign in to comment.