diff --git a/packages/types/src/transaction.ts b/packages/types/src/transaction.ts index 3888bcc890e3..034922b392dc 100644 --- a/packages/types/src/transaction.ts +++ b/packages/types/src/transaction.ts @@ -91,7 +91,7 @@ export interface SamplingContext extends CustomSamplingContext { * Object representing the URL of the current page or worker script. Passed by default in a browser or service worker * context. */ - location?: Location | WorkerLocation; + location?: WorkerLocation; /** * Object representing the incoming request to a node server. Passed by default when using the TracingHandler.