types(MessageComponentInteraction): fix componentType (#6536)

This commit is contained in:
Rodry
2021-08-29 13:22:53 +01:00
committed by GitHub
parent b89280a1dd
commit 0fe5f88316

2
typings/index.d.ts vendored
View File

@@ -1251,7 +1251,7 @@ export class MessageComponentInteraction extends Interaction {
public constructor(client: Client, data: RawMessageComponentInteractionData);
public readonly channel: TextBasedChannels | null;
public readonly component: MessageActionRowComponent | Exclude<APIMessageComponent, APIActionRowComponent> | null;
public componentType: MessageComponentType;
public componentType: Exclude<MessageComponentType, 'ACTION_ROW'>;
public customId: string;
public deferred: boolean;
public ephemeral: boolean | null;