Closed
Description
- Review the documentation: https://docs.sentry.io/
- Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
- Use the latest release: https://github.com/getsentry/sentry-javascript/releases
- Provide a link to the affected event from your Sentry account - no event available, typescript app failed to build with latest sentry
Package + Version
-
@sentry/browser
- 5.7.0
Version:
5.7.0
Description
Our typescript app failed the build when compiled with the latest sentry/browser (5.7.0)
ERROR in node_modules/@sentry/utils/dist/syncpromise.d.ts(5,22):
error TS2420: Class 'SyncPromise<T>' incorrectly implements interface 'Promise<T>'.
Types of property '[Symbol.toStringTag]' are incompatible.
Type 'string' is not assignable to type '"Promise"'.
I noticed that this only happened when we picked up the latest release, let me know if you need other information to reproduce. We're using typescript version 2.4.2
Metadata
Metadata
Assignees
Labels
No labels