Merge pull request #6244 from rschuchart/execsync-returntype

fixed execSync and execFileSync return type
This commit is contained in:
Masahiro Wakame
2015-10-13 02:31:55 +09:00
+2 -2
View File
@@ -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" {