cmux/node_modules/@vercel/build-utils/dist/clone-env.d.ts
2026-01-29 17:36:26 -08:00

10 lines
415 B
TypeScript

import type { Env } from './types';
/**
* Clones zero or more objects into a single new object while ensuring that the
* `PATH` environment variable is defined when the `PATH` or `Path` environment
* variables are defined.
*
* @param {Object} [...envs] Objects and/or `process.env` to clone and merge
* @returns {Object} The new object
*/
export declare function cloneEnv(...envs: (Env | undefined)[]): Env;