Skip to content
This repository has been archived by the owner on Sep 23, 2021. It is now read-only.

Commit

Permalink
Merge pull request #118 from filipbudisa/add-env-to-options-type
Browse files Browse the repository at this point in the history
Add env to options in index.d.ts
  • Loading branch information
jorangreef committed Apr 29, 2020
2 parents e176896 + c7ba4d9 commit 9a6ced4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 9a6ced4

Please sign in to comment.