1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/std/node/global.ts
2020-08-12 12:01:36 +02:00

11 lines
261 B
TypeScript

Object.defineProperty(globalThis, Symbol.toStringTag, {
value: "global",
writable: false,
enumerable: false,
configurable: true,
});
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(globalThis as any)["global"] = globalThis;
export {};