mirror of
https://github.com/hanzoai/ts-node.git
synced 2026-10-30 19:36:25 +00:00
* results of lint-fix * Remove tslint:disable comments * re-run lint-fix after removing tslint:disable comments
13 lines
314 B
TypeScript
13 lines
314 B
TypeScript
process.on('SIGINT', () => {
|
|
process.stdout.write('exited');
|
|
setTimeout(() => {
|
|
process.stdout.write(' fine');
|
|
|
|
// Needed to make sure what we wrote has time
|
|
// to be written
|
|
process.nextTick(() => process.exit());
|
|
}, 500);
|
|
});
|
|
|
|
setInterval(() => console.log('should not be reached'), 3000);
|