Merge pull request #118 from filipbudisa/add-env-to-options-type
Add env to options in index.d.ts
This commit is contained in:
commit
9a6ced42f3
1 changed files with 4 additions and 1 deletions
5
index.d.ts
vendored
5
index.d.ts
vendored
|
@ -1 +1,4 @@
|
||||||
export function exec(cmd: string, options: { name?: string, icns?: string }, callback: (error: string, stdout: string, stderr: string) => void): void;
|
export function exec(cmd: string,
|
||||||
|
options?: ((error?: Error, stdout?: string | Buffer, stderr?: string | Buffer) => void)
|
||||||
|
| { name?: string, icns?: string, env?: { [key: string]: string } },
|
||||||
|
callback?: (error?: Error, stdout?: string | Buffer, stderr?: string | Buffer) => void): void;
|
||||||
|
|
Loading…
Reference in a new issue