mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-15 10:58:18 +00:00
types(BaseMessageComponent): Remove third parameter of create() (#6833)
This commit is contained in:
Vendored
+1
-5
@@ -383,11 +383,7 @@ export class BaseGuildVoiceChannel extends GuildChannel {
|
||||
export class BaseMessageComponent {
|
||||
protected constructor(data?: BaseMessageComponent | BaseMessageComponentOptions);
|
||||
public type: MessageComponentType | null;
|
||||
private static create(
|
||||
data: MessageComponentOptions,
|
||||
client?: Client | WebhookClient,
|
||||
skipValidation?: boolean,
|
||||
): MessageComponent | undefined;
|
||||
private static create(data: MessageComponentOptions, client?: Client | WebhookClient): MessageComponent | undefined;
|
||||
private static resolveType(type: MessageComponentTypeResolvable): MessageComponentType;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user