mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
added definitions for open
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
/// <reference path="open.d.ts" />
|
||||
|
||||
import open = require('open');
|
||||
|
||||
open('foo');
|
||||
open('foo', 'bar');
|
||||
Vendored
+9
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user