We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0230d3a commit a349c78Copy full SHA for a349c78
exit/exit-tests.ts
@@ -0,0 +1,5 @@
1
+/// <reference path="exit.d.ts" />
2
+
3
+import exit = require('exit');
4
5
+exit(42);
exit/exit.d.ts
@@ -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
6
+declare module 'exit' {
7
+ function exit(code: number): void;
8
+ export = exit;
9
+}
0 commit comments