mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-04 01:35:37 -05:00
1.0 wip
This commit is contained in:
10
src/@types/ignore/index.d.ts
vendored
Normal file
10
src/@types/ignore/index.d.ts
vendored
Normal 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
13
src/@types/spawn-rx/index.d.ts
vendored
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user