Skip to content

Commit 72144fe

Browse files
author
Emmanuel Carjat
committed
made the file a module
1 parent 80617ae commit 72144fe

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/shims/global.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
// Browser shim for libs that expect Node's `global`
1+
export {}; // make this file a module for --isolatedModules
2+
23
const g: any = globalThis as any;
34
g.global ??= g;

0 commit comments

Comments
 (0)