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

Use TypeScript's Awaited utility type instead of our custom EnsurePromise type #273

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

joliss
Copy link
Contributor

@joliss joliss commented Mar 6, 2024

I learned about Awaited<T> just now, and thought I'd improve my patch from a few days ago, as it seems more elegant and concise to use Awaited here.

@borisdiakur borisdiakur merged commit 4dd12f0 into borisdiakur:main Mar 6, 2024
2 checks passed
@borisdiakur
Copy link
Owner

Nice! Thanks again @joliss!
3.0.4 📦🚀

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