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

Commit

Permalink
index.d.ts: Fixed optional parameters for callback
Browse files Browse the repository at this point in the history
  • Loading branch information
filipbudisa committed Dec 18, 2019
1 parent 0ae7ed8 commit c7ba4d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
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;
callback?: (error?: Error, stdout?: string | Buffer, stderr?: string | Buffer) => void): void;

0 comments on commit c7ba4d9

Please sign in to comment.