diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index 405e74630..d151f7481 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -397,7 +397,7 @@ export interface InteractionResponseFields awaitModalSubmit(options: AwaitModalSubmitOptions): Promise>; } -export type BooleanCache = T extends ['cached'] ? true : false; +export type BooleanCache = T extends 'cached' ? true : false; export abstract class CommandInteraction extends Interaction { public get command(): ApplicationCommand | ApplicationCommand<{ guild: GuildResolvable }> | null;