From 480511bb2486962a728556acb0368440e7253ac0 Mon Sep 17 00:00:00 2001 From: Kevin Ingersoll Date: Fri, 9 Aug 2024 17:06:35 +0100 Subject: [PATCH] env type --- types/arguments/options.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/types/arguments/options.d.ts b/types/arguments/options.d.ts index 4a3e78d3b6..98f61f5483 100644 --- a/types/arguments/options.d.ts +++ b/types/arguments/options.d.ts @@ -1,5 +1,4 @@ import type {SignalConstants} from 'node:os'; -import type {env} from 'node:process'; import type {Readable} from 'node:stream'; import type {Unless} from '../utils.js'; import type {Message} from '../ipc.js'; @@ -77,7 +76,7 @@ export type CommonOptions = { @default [process.env](https://nodejs.org/api/process.html#processenv) */ - readonly env?: typeof env; + readonly env?: Partial>; /** If `true`, the subprocess uses both the `env` option and the current process' environment variables ([`process.env`](https://nodejs.org/api/process.html#processenv)).