From 2708ec702930ef55fb68a74536f408fc509abaea Mon Sep 17 00:00:00 2001 From: marvin Date: Sun, 11 Oct 2015 12:16:55 +0200 Subject: [PATCH] fixed type of maxBuffer option to execFile --- node/node-0.10.d.ts | 2 +- node/node-0.11.d.ts | 2 +- node/node-0.8.8.d.ts | 2 +- node/node.d.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/node/node-0.10.d.ts b/node/node-0.10.d.ts index 9a8eac40e8..cf733eac2c 100644 --- a/node/node-0.10.d.ts +++ b/node/node-0.10.d.ts @@ -720,7 +720,7 @@ declare module "child_process" { env?: any; encoding?: string; timeout?: number; - maxBuffer?: string; + maxBuffer?: number; killSignal?: string; }, callback?: (error: Error, stdout: Buffer, stderr: Buffer) =>void ): ChildProcess; export function fork(modulePath: string, args?: string[], options?: { diff --git a/node/node-0.11.d.ts b/node/node-0.11.d.ts index e4bfa91dcb..db898e8510 100644 --- a/node/node-0.11.d.ts +++ b/node/node-0.11.d.ts @@ -639,7 +639,7 @@ declare module "child_process" { env?: any; encoding?: string; timeout?: number; - maxBuffer?: string; + maxBuffer?: number; killSignal?: string; }, callback: (error: Error, stdout: Buffer, stderr: Buffer) =>void ): ChildProcess; export function fork(modulePath: string, args?: string[], options?: { diff --git a/node/node-0.8.8.d.ts b/node/node-0.8.8.d.ts index 154025749e..1972e0cdcf 100644 --- a/node/node-0.8.8.d.ts +++ b/node/node-0.8.8.d.ts @@ -573,7 +573,7 @@ declare module "child_process" { env?: any; encoding?: string; timeout?: number; - maxBuffer?: string; + maxBuffer?: number; killSignal?: string; }, callback: (error: Error, stdout: Buffer, stderr: Buffer) =>void ): ChildProcess; export function fork(modulePath: string, args?: string[], options?: { diff --git a/node/node.d.ts b/node/node.d.ts index 458ed27cc8..5886bdf58c 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -860,7 +860,7 @@ declare module "child_process" { env?: any; encoding?: string; timeout?: number; - maxBuffer?: string; + maxBuffer?: number; killSignal?: string; }, callback?: (error: Error, stdout: Buffer, stderr: Buffer) =>void ): ChildProcess; export function fork(modulePath: string, args?: string[], options?: {