Skip to content

Commit 96367bf

Browse files
committed
add scope getter to hub type
1 parent bcb2d2d commit 96367bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/types/src/hub.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ export interface Hub {
7070
/** Returns the client of the top stack. */
7171
getClient(): Client | undefined;
7272

73+
/** Returns the scope of the top stack */
74+
getScope(): Scope;
75+
7376
/**
7477
* Captures an exception event and sends it to Sentry.
7578
*

0 commit comments

Comments
 (0)