Skip to content

improve typescript declare file #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 30, 2019
Merged

Conversation

rikberkelder
Copy link
Contributor

The module was almost impossible to properly use in a TypeScript project as far as i was able to figure out as the DirectoryTree and Stats classes weren't able to be used in any files where the module got imported. This fixed that so you can actually statically type accordingly in TS projects.

@mihneadb
Copy link
Owner

Thanks @rikberkelder !

@mihneadb mihneadb merged commit 0167117 into mihneadb:master Apr 30, 2019
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