We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 172625b commit 0230d3aCopy full SHA for 0230d3a
open/open-tests.ts
@@ -0,0 +1,6 @@
1
+/// <reference path="open.d.ts" />
2
+
3
+import open = require('open');
4
5
+open('foo');
6
+open('foo', 'bar');
open/open.d.ts
@@ -0,0 +1,9 @@
+// Type definitions for open 0.0.3
+// Project: https://github.com/jjrdn/node-open
+// Definitions by: Bart van der Schoor <https://github.com/Bartvds>
+// Definitions: https://github.com/borisyankov/DefinitelyTyped
+declare module 'open' {
7
+ function open(target: string, app?: string): void;
8
+ export = open;
9
+}
0 commit comments