📜  typescript globalThis - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:16.378000             🧑  作者: Mango

代码示例1
// @ts-ignore
    console.log("globalThis.myVar: "+globalThis.myVar);
    // This will ignore the error typescript gives when using globalThis