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

Add isFulfilled and isRejected guards for use with Promise.allSettled #25

Merged
merged 4 commits into from Jun 24, 2022

Conversation

emmatown
Copy link
Member

@emmatown emmatown commented Jun 22, 2022

I've found these helpful so thought it might be nice to add.

@vercel
Copy link

vercel bot commented Jun 22, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
emery ✅ Ready (Inspect) Visit Preview Jun 24, 2022 at 5:54AM (UTC)

@@ -1,3 +1,4 @@
/// <reference lib="es2020.promise" />
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to automatically include the types used if someone isn't already including the lib file for it.

@emmatown emmatown requested a review from jossmac June 22, 2022 01:48
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.

None yet

2 participants