Skip to content

Commit 06c10f5

Browse files
committed
Fix ConfigOptions interface by removing aliases and correctly typing properties with defaults
1 parent fe8d0f2 commit 06c10f5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

packages/cli/src/commands/config.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@ export interface ConfigOptions extends SharedOptions {
2121
command: 'get' | 'set' | 'list' | 'clear';
2222
key?: string;
2323
value?: string;
24-
all?: boolean;
25-
global?: boolean;
26-
g?: boolean;
27-
verbose?: boolean;
28-
v?: boolean;
24+
all: boolean; // Has default value in builder, so it's always defined
25+
global: boolean; // Has default value in builder, so it's always defined
26+
verbose: boolean; // Has default value in builder, so it's always defined
2927
}
3028

3129
export const command: CommandModule<SharedOptions, ConfigOptions> = {

0 commit comments

Comments
 (0)