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" {