We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccded68 commit 9b0340aCopy full SHA for 9b0340a
src/node/cli.ts
@@ -118,18 +118,18 @@ interface Option<T> {
118
type OptionType<T> = T extends boolean
119
? "boolean"
120
: T extends OptionalString
121
- ? typeof OptionalString
122
- : T extends LogLevel
123
- ? typeof LogLevel
124
- : T extends AuthType
125
- ? typeof AuthType
126
- : T extends number
127
- ? "number"
128
- : T extends string
129
- ? "string"
130
- : T extends string[]
131
- ? "string[]"
132
- : "unknown"
+ ? typeof OptionalString
+ : T extends LogLevel
+ ? typeof LogLevel
+ : T extends AuthType
+ ? typeof AuthType
+ : T extends number
+ ? "number"
+ : T extends string
+ ? "string"
+ : T extends string[]
+ ? "string[]"
+ : "unknown"
133
134
export type Options<T> = {
135
[P in keyof T]: Option<OptionType<T[P]>>
0 commit comments