mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 04:53:30 +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 {
|
export class BaseMessageComponent {
|
||||||
protected constructor(data?: BaseMessageComponent | BaseMessageComponentOptions);
|
protected constructor(data?: BaseMessageComponent | BaseMessageComponentOptions);
|
||||||
public type: MessageComponentType | null;
|
public type: MessageComponentType | null;
|
||||||
private static create(
|
private static create(data: MessageComponentOptions, client?: Client | WebhookClient): MessageComponent | undefined;
|
||||||
data: MessageComponentOptions,
|
|
||||||
client?: Client | WebhookClient,
|
|
||||||
skipValidation?: boolean,
|
|
||||||
): MessageComponent | undefined;
|
|
||||||
private static resolveType(type: MessageComponentTypeResolvable): MessageComponentType;
|
private static resolveType(type: MessageComponentTypeResolvable): MessageComponentType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user