We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd694b6 commit ae3f180Copy full SHA for ae3f180
lib/yargs-parser-types.ts
@@ -98,7 +98,7 @@ export interface Options {
98
/** Provide default values for keys: `{ default: { x: 33, y: 'hello world!' } }`. */
99
default: Dictionary<any>;
100
/** Environment variables (`process.env`) with the prefix provided should be parsed. */
101
- envPrefix: string;
+ envPrefix?: string;
102
/** Specify that a key requires n arguments: `{ narg: {x: 2} }`. */
103
narg: Dictionary<number>;
104
/** `path.normalize()` will be applied to values set to this key. */
0 commit comments