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

Fix type compatibility with node 10+ #392

Merged
merged 1 commit into from
Aug 1, 2021

Conversation

mpetrunic
Copy link
Contributor

In nodejs 10+ worker.terminate returns Promise instead. Kept void return type since thats how tiny worker and browser behaves

@andywer andywer merged commit 4f27112 into andywer:master Aug 1, 2021
@andywer
Copy link
Owner

andywer commented Aug 1, 2021

Thanks!

@mpetrunic mpetrunic deleted the mpetrunic/worker-types branch August 2, 2021 09:14
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