Skip to content

Commit 878cf46

Browse files
committed
Add global __DEBUG_BUILD__ to types
1 parent 8a227f4 commit 878cf46

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

packages/types/src/globals.ts

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
declare global {
2+
const __DEBUG_BUILD__: boolean;
3+
}
4+
5+
// We need this empty export because of --isolatedModules
6+
export {};

packages/types/src/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import './globals';
2+
13
export type { Attachment } from './attachment';
24
export type { AllowedBaggageKeys, Baggage, BaggageObj } from './baggage';
35
export type { Breadcrumb, BreadcrumbHint } from './breadcrumb';

0 commit comments

Comments
 (0)