mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
types(BaseMessageComponent): Remove third parameter of create() (#6833)
This commit is contained in:
6
typings/index.d.ts
vendored
6
typings/index.d.ts
vendored
@@ -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