mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 08:39:09 -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;
|