mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 04:24:30 +08:00
Improves nodejs typings for Process & ChildProcess
This commit is contained in:
2
node/node.d.ts
vendored
2
node/node.d.ts
vendored
@@ -216,6 +216,7 @@ declare module NodeJS {
|
||||
stderr: WritableStream;
|
||||
stdin: ReadableStream;
|
||||
argv: string[];
|
||||
execArgv: string[];
|
||||
execPath: string;
|
||||
abort(): void;
|
||||
chdir(directory: string): void;
|
||||
@@ -916,6 +917,7 @@ declare module "child_process" {
|
||||
stdin: stream.Writable;
|
||||
stdout: stream.Readable;
|
||||
stderr: stream.Readable;
|
||||
stdio: (stream.Readable|stream.Writable)[];
|
||||
pid: number;
|
||||
kill(signal?: string): void;
|
||||
send(message: any, sendHandle?: any): void;
|
||||
|
||||
Reference in New Issue
Block a user