From 0f28601713465b126092963bae781574bc4585a0 Mon Sep 17 00:00:00 2001 From: Jenn Mueng <30991498+jennmueng@users.noreply.github.com> Date: Fri, 18 Sep 2020 17:06:26 +0700 Subject: [PATCH] fix: Remove Location type to avoid dom lib dependency (#2922) --- 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.