Merge pull request #8089 from asgoth/feature/node-changes

Improves nodejs typings for Process & ChildProcess
This commit is contained in:
Masahiro Wakame
2016-02-15 23:04:22 +09:00
+2
View File
@@ -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;