diff --git a/lib/yargs-parser-types.ts b/lib/yargs-parser-types.ts index a1e2c4cf..7469c411 100644 --- a/lib/yargs-parser-types.ts +++ b/lib/yargs-parser-types.ts @@ -98,7 +98,7 @@ export interface Options { /** Provide default values for keys: `{ default: { x: 33, y: 'hello world!' } }`. */ default: Dictionary; /** Environment variables (`process.env`) with the prefix provided should be parsed. */ - envPrefix: string; + envPrefix?: string; /** Specify that a key requires n arguments: `{ narg: {x: 2} }`. */ narg: Dictionary; /** `path.normalize()` will be applied to values set to this key. */