same as previous
This commit is contained in:
parent
fb46e09d70
commit
0410e8d707
@ -23,7 +23,7 @@ type ParserOptions = {
|
|||||||
commands: Iterable<Command>,
|
commands: Iterable<Command>,
|
||||||
prefix?: string,
|
prefix?: string,
|
||||||
debug?: boolean,
|
debug?: boolean,
|
||||||
resolver?: IResolver<unknown, unknown, unknown, unknown, unknown>,
|
resolver?: IResolver,
|
||||||
allowDefaultOnRequired?: boolean
|
allowDefaultOnRequired?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ class Parser extends EventEmitter {
|
|||||||
private commands: ExtendedMap<string, Command>;
|
private commands: ExtendedMap<string, Command>;
|
||||||
private _debug = false;
|
private _debug = false;
|
||||||
prefix: string;
|
prefix: string;
|
||||||
resolver?: IResolver<unknown, unknown, unknown, unknown, unknown>;
|
resolver?: IResolver;
|
||||||
allowDefaultOnRequired: boolean;
|
allowDefaultOnRequired: boolean;
|
||||||
|
|
||||||
constructor ({ commands, prefix, debug = false, resolver, allowDefaultOnRequired }: ParserOptions) {
|
constructor ({ commands, prefix, debug = false, resolver, allowDefaultOnRequired }: ParserOptions) {
|
||||||
|
Loading…
Reference in New Issue
Block a user