mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* cross-spawn types * Add @inheritDoc annotation for IDEs that require it * Add sync methods * simplify typings * rm namespace comment
17 lines
520 B
TypeScript
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;
|