TypeScript GlobalThis
// @ts-ignore
console.log("globalThis.myVar: "+globalThis.myVar);
// This will ignore the error typescript gives when using globalThis
Condemned Caribou