mirror of
https://github.com/denoland/deno.git
synced 2024-12-28 18:19:08 -05:00
9 lines
249 B
TypeScript
9 lines
249 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;
|