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