diff --git a/src/flags.ts b/src/flags.ts index 27aeff80..c2fc67f0 100644 --- a/src/flags.ts +++ b/src/flags.ts @@ -27,7 +27,7 @@ export type Output = Parser.flags.Output export type Input = { [P in keyof T]: IFlag } export type Definition = { - (options: {multiple: true} & Partial>): IOptionFlag + (options: {multiple: true} & Partial>): IOptionFlag (options: ({required: true} | {default: Parser.flags.Default}) & Partial>): IOptionFlag (options?: Partial>): IOptionFlag }