fixed execSync and execFileSync return type

This commit is contained in:
marvin
2015-10-11 11:42:13 +02:00
parent 3fc1377ce2
commit 4ff80190f0
+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" {