From 66b74925f9ffdcc74079248941e6b678ada159dd Mon Sep 17 00:00:00 2001 From: Jenn Mueng Date: Fri, 18 Sep 2020 16:47:08 +0700 Subject: [PATCH] fix: Remove Location type to avoid dom lib dependency --- packages/types/src/transaction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.