-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
7.93.0 and later
Framework Version
No response
Link to Sentry event
No response
SDK Setup
No response
Steps to Reproduce
- Enable
exactOptionalPropertyTypesin tsconfig.json - Import sentry
- Build
here is a minimal reproducible example https://github.com/ansf/sentry-reproducer
Expected Result
It should build
Actual Result
Two build errors:
@sentry/core/types/tracing/span.d.ts:218:5 - error TS2416: Property 'startChild' in type 'Span' is not assignable to the same property in base type 'Span'.
and
@sentry/core/types/tracing/transaction.d.ts:53:5 - error TS2416: Property 'updateName' in type 'Transaction' is not assignable to the same property in base type 'Transaction'.
Metadata
Metadata
Assignees
Labels
Projects
Status
No status