1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-17 19:34:02 -05:00
denoland-deno/std/node/global.ts

14 lines
337 B
TypeScript
Raw Normal View History

2020-09-21 21:26:41 +09:00
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
2020-04-30 20:58:40 +03:00
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 {};