Skip to content

Typescript definitions: Fix JSZip.folder does not return null#857

Open
JamiesWhiteShirt wants to merge 1 commit intoStuk:mainfrom
JamiesWhiteShirt:fix/folder-returns-not-null
Open

Typescript definitions: Fix JSZip.folder does not return null#857
JamiesWhiteShirt wants to merge 1 commit intoStuk:mainfrom
JamiesWhiteShirt:fix/folder-returns-not-null

Conversation

@JamiesWhiteShirt
Copy link

#669 added null to the return type according to the documentation in the typedefs, but the documentation in the typedefs is wrong about JSZip.folder returning null. JSZip.folder does not return null.

This fixes the documentation in the typedefs and the type to match the documented and observable behavior.

@julienw
Copy link

julienw commented Jan 15, 2023

ping @Stuk , I just found this issue today as well :) could this be merged please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants