There was an error while loading. Please reload this page.
default
T[]
multiple: true
1 parent deb111a commit 13da51cCopy full SHA for 13da51c
1 file changed
src/flags.ts
@@ -27,7 +27,7 @@ export type Output = Parser.flags.Output
27
export type Input<T extends Parser.flags.Output> = { [P in keyof T]: IFlag<T[P]> }
28
29
export type Definition<T> = {
30
- (options: {multiple: true} & Partial<IOptionFlag<T>>): IOptionFlag<T[]>
+ (options: {multiple: true} & Partial<IOptionFlag<T[]>>): IOptionFlag<T[]>
31
(options: ({required: true} | {default: Parser.flags.Default<T>}) & Partial<IOptionFlag<T>>): IOptionFlag<T>
32
(options?: Partial<IOptionFlag<T>>): IOptionFlag<T | undefined>
33
}
0 commit comments