Skip to content

Add typescript type definition file#842

Open
mjfwalsh wants to merge 1 commit into
archiverjs:masterfrom
mjfwalsh:master
Open

Add typescript type definition file#842
mjfwalsh wants to merge 1 commit into
archiverjs:masterfrom
mjfwalsh:master

Conversation

@mjfwalsh
Copy link
Copy Markdown

This is an adapted version of the type definitions from DefinitelyTyped for archiver version 8.

The only additional change is to reflect the fact that the second parameter of the directory method is optional.

I could add tests for these types but I'd need to add typescript as a dev dep.

This resolves #838

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.

@types/archiver needs update to match the exports of new package

1 participant