DefinitelyTyped/types/cross-spawn/index.d.ts
Art 1248e5a0b1 Add: cross-spawn types (#23228)
* cross-spawn types

* Add @inheritDoc annotation for IDEs that require it

* Add sync methods

* simplify typings

* rm namespace comment
2018-01-27 11:31:13 -08:00

17 lines
520 B
TypeScript

// Type definitions for cross-spawn 6.0
// Project: https://github.com/moxystudio/node-cross-spawn
// Definitions by: Alorel <https://github.com/Alorel>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
import * as child_process from 'child_process';
declare function spawn(command: string, args?: string[], options?: child_process.SpawnOptions): child_process.ChildProcess;
declare namespace spawn {
const sync: typeof child_process.spawnSync;
}
export = spawn;