same as previous

This commit is contained in:
Erik 2023-05-12 20:31:31 +03:00
parent fb46e09d70
commit 0410e8d707
Signed by: Navy.gif
GPG Key ID: 2532FBBB61C65A68

View File

@ -23,7 +23,7 @@ type ParserOptions = {
commands: Iterable<Command>,
prefix?: string,
debug?: boolean,
resolver?: IResolver<unknown, unknown, unknown, unknown, unknown>,
resolver?: IResolver,
allowDefaultOnRequired?: boolean
}
@ -42,7 +42,7 @@ class Parser extends EventEmitter {
private commands: ExtendedMap<string, Command>;
private _debug = false;
prefix: string;
resolver?: IResolver<unknown, unknown, unknown, unknown, unknown>;
resolver?: IResolver;
allowDefaultOnRequired: boolean;
constructor ({ commands, prefix, debug = false, resolver, allowDefaultOnRequired }: ParserOptions) {