File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ interface OutputByType {
5656// compressedContent: string|ArrayBuffer|Uint8Array|Buffer;
5757// }
5858
59- type InputFileFormat = InputByType [ keyof InputByType ] ;
59+ type InputFileFormat = InputByType [ keyof InputByType ] | Promise < InputFileFormat > ;
6060
6161declare namespace JSZip {
6262 type InputType = keyof InputByType ;
@@ -245,15 +245,7 @@ interface JSZip {
245245 /**
246246 * Create JSZip instance
247247 */
248-
249- /**
250- * Create JSZip instance
251- * If no parameters given an empty zip archive will be created
252- *
253- * @param data Serialized zip archive
254- * @param options Description of the serialized zip archive
255- */
256- new ( data ?: InputFileFormat , options ?: JSZip . JSZipLoadOptions ) : this;
248+ new ( ) : this;
257249
258250 ( ) : JSZip ;
259251
You can’t perform that action at this time.
0 commit comments