added definitions for open

This commit is contained in:
Bart van der Schoor
2014-04-01 00:36:25 +02:00
parent 172625be86
commit 0230d3aa63
2 changed files with 15 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
/// <reference path="open.d.ts" />
import open = require('open');
open('foo');
open('foo', 'bar');
+9
View File
@@ -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' {
function open(target: string, app?: string): void;
export = open;
}