Skip to content

Commit 91d363f

Browse files
committed
fix specs
1 parent 3336682 commit 91d363f

File tree

2 files changed

+320
-4
lines changed

2 files changed

+320
-4
lines changed

node_package/src/context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ export type Context = Window | typeof globalThis;
66
export default function context(this: void): Context | void {
77
return ((typeof window !== 'undefined') && window) ||
88
((typeof global !== 'undefined') && global) ||
9-
this;
9+
globalThis;
1010
}

0 commit comments

Comments
 (0)