Skip to content

JSZipGeneratorOptions.encodeFileName declaration changed #833

@chrisxvin

Description

@chrisxvin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions