From 4ff80190f08ff7630d36eecf920b7de540b90c0e Mon Sep 17 00:00:00 2001 From: marvin Date: Sun, 11 Oct 2015 11:42:13 +0200 Subject: [PATCH] fixed execSync and execFileSync return type --- node/node.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/node.d.ts b/node/node.d.ts index 458ed27cc8..13b579b59c 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -899,7 +899,7 @@ declare module "child_process" { maxBuffer?: number; killSignal?: string; encoding?: string; - }): ChildProcess; + }): string | Buffer; export function execFileSync(command: string, args?: string[], options?: { cwd?: string; input?: string|Buffer; @@ -911,7 +911,7 @@ declare module "child_process" { maxBuffer?: number; killSignal?: string; encoding?: string; - }): ChildProcess; + }): string | Buffer; } declare module "url" {