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

ref: Loosen promise typings #2273

Merged
merged 2 commits into from
Oct 14, 2019
Merged

ref: Loosen promise typings #2273

merged 2 commits into from
Oct 14, 2019

Conversation

kamilogorek
Copy link
Contributor

@kamilogorek kamilogorek commented Oct 14, 2019

Fixes: #2271
Fixes: #2265

Promise A+ spec doesn't include catch (which is only syntax sugar for (null, () => {}) in V8), so we don't use it here. This will allow any promise implementation to be used in place of SyncPromise in the future, or in any publicly facing APIs that use PromiseLike – https://promisesaplus.com/

@getsentry-bot
Copy link
Contributor

Warnings
⚠️ Please add a changelog entry for your changes.
Messages
📖 ✅ TSLint passed
📖

@sentry/browser bundle gzip'ed minified size: (ES5: 15.4102 kB) (ES6: 14.6113 kB)

Generated by 🚫 dangerJS against 928b455

Copy link
Member

@HazAT HazAT left a comment

Choose a reason for hiding this comment

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

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants