Skip to content

Commit

Permalink
Remove recursive InputFileFormat type
Browse files Browse the repository at this point in the history
Fixes #816
  • Loading branch information
Stuk committed Apr 6, 2022
1 parent d36f043 commit 659599c
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
Expand Up @@ -64,7 +64,7 @@ interface OutputByType {
// compressedContent: string|ArrayBuffer|Uint8Array|Buffer;
// }

type InputFileFormat = InputByType[keyof InputByType] | Promise<InputFileFormat>;
type InputFileFormat = InputByType[keyof InputByType] | Promise<InputByType[keyof InputByType]>;

declare namespace JSZip {
type InputType = keyof InputByType;
Expand Down

0 comments on commit 659599c

Please sign in to comment.