Skip to content

Commit 0f28601

Browse files
authored
fix: Remove Location type to avoid dom lib dependency (#2922)
1 parent 329d90b commit 0f28601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/types/src/transaction.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export interface SamplingContext extends CustomSamplingContext {
9191
* Object representing the URL of the current page or worker script. Passed by default in a browser or service worker
9292
* context.
9393
*/
94-
location?: Location | WorkerLocation;
94+
location?: WorkerLocation;
9595

9696
/**
9797
* Object representing the incoming request to a node server. Passed by default when using the TracingHandler.

0 commit comments

Comments
 (0)