Skip to content

Commit b2928d9

Browse files
committed
Change import of ambiant global
1 parent 935f9b1 commit b2928d9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/types/src/globals.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ declare global {
1010
}
1111

1212
// We need this empty export because of --isolatedModules
13-
export {};
13+
export type {};

packages/types/src/index.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import './globals';
2-
31
export type { Attachment } from './attachment';
42
export type { AllowedBaggageKeys, Baggage, BaggageObj } from './baggage';
53
export type { Breadcrumb, BreadcrumbHint } from './breadcrumb';
@@ -31,6 +29,7 @@ export type { Event, EventHint } from './event';
3129
export type { EventProcessor } from './eventprocessor';
3230
export type { Exception } from './exception';
3331
export type { Extra, Extras } from './extra';
32+
import type {} from './globals';
3433
export type { Hub } from './hub';
3534
export type { Integration, IntegrationClass } from './integration';
3635
export type { Mechanism } from './mechanism';

0 commit comments

Comments
 (0)