mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-28 12:30:21 +08:00
added definitions for exit
This commit is contained in:
1 parent
0230d3aa63
commit
a349c7811a
2 files changed
+14
No files matched your search
@@ -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