From 79509620fd85e21f91d703574ee02f3c2e3b2f32 Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 27 Feb 2015 07:51:31 +0100 Subject: [PATCH 1/2] Added execSync to child_process --- node/node.d.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/node/node.d.ts b/node/node.d.ts index b1e849535..0fff702b3 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -650,6 +650,19 @@ declare module "child_process" { env?: any; encoding?: string; }): ChildProcess; + export function execSync(command: string, options?: { + cwd?: string; + input?: string|Buffer; + stdio?: any; + env?: any; + uid?:number; + gid?:number; + timeout?: number; + maxBuffer?: number; + killSignal?: string; + maxBuffer?:number; + encoding?: string; + }); } declare module "url" { From cc0422bd72640ee8ee721ae245174647f28ef311 Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 27 Feb 2015 07:54:52 +0100 Subject: [PATCH 2/2] Removed duplicate member --- node/node.d.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/node/node.d.ts b/node/node.d.ts index 0fff702b3..deae056a1 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -655,14 +655,13 @@ declare module "child_process" { input?: string|Buffer; stdio?: any; env?: any; - uid?:number; - gid?:number; + uid?: number; + gid?: number; timeout?: number; maxBuffer?: number; killSignal?: string; - maxBuffer?:number; encoding?: string; - }); + }): ChildProcess; } declare module "url" {