diff --git a/src/classes/CommandOption.ts b/src/classes/CommandOption.ts index d14e11d..3184fad 100644 --- a/src/classes/CommandOption.ts +++ b/src/classes/CommandOption.ts @@ -26,7 +26,7 @@ class CommandOption implements ICommandOption { value?: unknown; aliased = false; strict: boolean; - private resolver?: IResolver|undefined; + private resolver?: IResolver | undefined; constructor (def: CommandOptionDefinition|CommandOption|ICommandOption) { @@ -89,7 +89,7 @@ class CommandOption implements ICommandOption { } - clone (rawValue?: string[], resolver?: IResolver): CommandOption { + clone (rawValue?: string[], resolver?: IResolver): CommandOption { const opt = new CommandOption(this); opt.rawValue = rawValue; opt.resolver = resolver; diff --git a/src/interfaces/CommandOption.ts b/src/interfaces/CommandOption.ts index 4701a9a..787d1c5 100644 --- a/src/interfaces/CommandOption.ts +++ b/src/interfaces/CommandOption.ts @@ -130,7 +130,7 @@ interface ICommandOption { // private _options?: CommandOptionDefinition - clone(rawValue?: string[], resolver?: IResolver): CommandOption + clone(rawValue?: string[], resolver?: IResolver): CommandOption parse(guild: unknown): Promise diff --git a/src/interfaces/Resolver.ts b/src/interfaces/Resolver.ts index 06c5106..f097f19 100644 --- a/src/interfaces/Resolver.ts +++ b/src/interfaces/Resolver.ts @@ -1,4 +1,4 @@ -interface IResolver { +interface IResolver { /** * Should resolve to a user abstraction @@ -8,7 +8,7 @@ interface IResolver { * @return {User} {User} * @memberof IResolver */ - resolveUser(resolveable: string, strict?: boolean): Promise + resolveUser(resolveable: string, strict?: boolean): Promise /** * Should resolve to a member abstraction @@ -19,7 +19,7 @@ interface IResolver { * @return {Member} {Member} * @memberof IResolver */ - resolveMember(resolveable: string, strict: boolean, guild: Guild): Promise + resolveMember(resolveable: string, strict: boolean, guild: Guild): Promise /** * Should resolve to a role abstraction @@ -30,7 +30,7 @@ interface IResolver { * @return {Channel} {Channel} * @memberof IResolver */ - resolveChannel(resolveable: string, strict: boolean, guild: Guild): Promise + resolveChannel(resolveable: string, strict: boolean, guild: Guild): Promise /** * Should resolve to a role abstraction @@ -41,7 +41,7 @@ interface IResolver { * @return {Role} {Role} * @memberof IResolver */ - resolveRole(resolveable: string, strict: boolean, guild: Guild): Promise + resolveRole(resolveable: string, strict: boolean, guild: Guild): Promise /** * Should resolve to true when a truthy resolveable is passed, i.e. yes, true, on etc