Skip to content

Commit d4a8524

Browse files
committed
Fix type of ProgressCallback.
1 parent c542dfa commit d4a8524

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/api.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export type OutputStream =
99
(bytes: Uint8Array | null) => void;
1010

1111
export type ProgressCallback =
12-
({ source: Application, totalLength: number, doneLength: number }) => void;
12+
(event: { source: Application, totalLength: number, doneLength: number }) => void;
1313

1414
export type RunOptions = {
1515
stdin?: InputStream | null;

0 commit comments

Comments
 (0)