diff options
Diffstat (limited to 'std/node/process.ts')
-rw-r--r-- | std/node/process.ts | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/std/node/process.ts b/std/node/process.ts index 0a93a0928..a47140f15 100644 --- a/std/node/process.ts +++ b/std/node/process.ts @@ -142,23 +142,9 @@ export const env = new Proxy(process.env, {}); // import process from './std/node/process.ts' export default process; -// Define the type for the global declration -type Process = typeof process; - Object.defineProperty(process, Symbol.toStringTag, { enumerable: false, writable: true, configurable: false, value: "process", }); - -Object.defineProperty(globalThis, "process", { - value: process, - enumerable: false, - writable: true, - configurable: true, -}); - -declare global { - const process: Process; -} |