Skip to content
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

Improve TypeScript types #71

Merged
merged 1 commit into from
Aug 8, 2023
Merged

Improve TypeScript types #71

merged 1 commit into from
Aug 8, 2023

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented Aug 8, 2023

This PR adds more tests for the TypeScript types.
It also make the types stricter by only allowing Readable streams, instead of any Node.js streams.

@sindresorhus sindresorhus merged commit c29e445 into sindresorhus:main Aug 8, 2023
3 checks passed
@ehmicky ehmicky deleted the strict-types branch August 8, 2023 23:38
@ehmicky ehmicky mentioned this pull request Aug 13, 2023
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