This commit is contained in:
Eric Amodio
2016-11-03 03:09:33 -04:00
parent 8df6b80725
commit 409be335f9
38 changed files with 1094 additions and 520 deletions

10
src/@types/ignore/index.d.ts vendored Normal file
View File

@@ -0,0 +1,10 @@
declare module "ignore" {
namespace ignore {
interface Ignore {
add(patterns: string | Array<string> | Ignore): Ignore;
filter(paths: Array<string>): Array<string>;
}
}
function ignore(): ignore.Ignore;
export = ignore;
}

13
src/@types/spawn-rx/index.d.ts vendored Normal file
View File

@@ -0,0 +1,13 @@
/// <reference path="../../../node_modules/rxjs/Observable.d.ts" />
declare module "spawn-rx" {
import { Observable } from 'rxjs/Observable';
namespace spawnrx {
function findActualExecutable(exe: string, args: Array<string>): { cmd: string, args: Array<string> };
function spawnDetached(exe: string, params: Array<string>, opts: Object|undefined): Observable<string>;
function spawn(exe: string, params: Array<string>, opts: Object|undefined): Observable<string>;
function spawnDetachedPromise(exe: string, params: Array<string>, opts: Object|undefined): Promise<string>;
function spawnPromise(exe: string, params: Array<string>, opts: Object|undefined): Promise<string>;
}
export = spawnrx;
}