mirror of
https://github.com/denoland/deno.git
synced 2024-11-29 16:30:56 -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;
|