mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
added definitions for exit
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
/// <reference path="exit.d.ts" />
|
||||
|
||||
import exit = require('exit');
|
||||
|
||||
exit(42);
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
// Type definitions for exit 0.1.2
|
||||
// Project: https://github.com/cowboy/node-exit
|
||||
// Definitions by: Bart van der Schoor <https://github.com/Bartvds>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module 'exit' {
|
||||
function exit(code: number): void;
|
||||
export = exit;
|
||||
}
|
||||
Reference in New Issue
Block a user