Added Missing third ExecCallback param (stderr) for shelljs (#9417)

* Added Missing third ExecCallback param (stderr) for shelljs

* Made third ExecCallback parameter optional
This commit is contained in:
Matthias
2016-05-26 23:11:56 +10:00
committed by Masahiro Wakame
parent 7ad4e09016
commit ae98aa7dd3

View File

@@ -465,7 +465,7 @@ declare module "shelljs"
export function exec(command: string, callback: ExecCallback): child.ChildProcess;
export interface ExecCallback {
(code: number, output: string): any;
(code: number, output: string, error?: string): any;
}
export interface ExecOptions {