Skip to content

Commit 659599c

Browse files
committed
Remove recursive InputFileFormat type
Fixes #816
1 parent d36f043 commit 659599c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ interface OutputByType {
6464
// compressedContent: string|ArrayBuffer|Uint8Array|Buffer;
6565
// }
6666

67-
type InputFileFormat = InputByType[keyof InputByType] | Promise<InputFileFormat>;
67+
type InputFileFormat = InputByType[keyof InputByType] | Promise<InputByType[keyof InputByType]>;
6868

6969
declare namespace JSZip {
7070
type InputType = keyof InputByType;

0 commit comments

Comments
 (0)