You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the document, encodeFileName is described as "The function takes a string and returns a bytes array (Uint8Array or Array)", but in .d.ts file, it's declared as encodeFileName?(filename: string): string;, and cannot use code from the doc.
I'm confused now...How can I encode file name correctly? Thanks.
The text was updated successfully, but these errors were encountered:
chrisxvin
changed the title
encodeFileName declaration changed
JSZipGeneratorOptions.encodeFileName declaration changed
Jun 14, 2022
In the document,
encodeFileName
is described as "The function takes a string and returns a bytes array (Uint8Array or Array)", but in .d.ts file, it's declared asencodeFileName?(filename: string): string;
, and cannot use code from the doc.I'm confused now...How can I encode file name correctly? Thanks.
The text was updated successfully, but these errors were encountered: