0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
denoland-deno/std/node/global.ts
2020-05-26 10:02:16 -04:00

9 lines
197 B
TypeScript

Object.defineProperty(globalThis, Symbol.toStringTag, {
value: "global",
writable: false,
enumerable: false,
configurable: true,
});
// @ts-expect-error
globalThis["global"] = globalThis;