mirror of https://github.com/sveltejs/svelte
parent
2e094a0b13
commit
839639fe8c
@ -0,0 +1,7 @@
|
||||
declare const global: any;
|
||||
|
||||
export const globals = (typeof window !== 'undefined'
|
||||
? window
|
||||
: typeof globalThis !== 'undefined'
|
||||
? globalThis
|
||||
: global) as unknown as typeof globalThis;
|
Loading…
Reference in new issue