mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +01:00
build: Bump dependencies (#11333)
* build: bump dependencies * fix: guide build * build: amend package.json.hbs * build: create-discord-bot * style: formatting * build: final change --------- Co-authored-by: almeidx <github@almeidx.dev>
This commit is contained in:
@@ -34,8 +34,9 @@ import { StringSelectMenuBuilder } from './selectMenu/StringSelectMenu.js';
|
||||
import { UserSelectMenuBuilder } from './selectMenu/UserSelectMenu.js';
|
||||
import { TextInputBuilder } from './textInput/TextInput.js';
|
||||
|
||||
export interface ActionRowBuilderData
|
||||
extends Partial<Omit<APIActionRowComponent<APIComponentInActionRow>, 'components'>> {
|
||||
export interface ActionRowBuilderData extends Partial<
|
||||
Omit<APIActionRowComponent<APIComponentInActionRow>, 'components'>
|
||||
> {
|
||||
components: AnyActionRowComponentBuilder[];
|
||||
}
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@ export interface ComponentBuilderBaseData {
|
||||
*
|
||||
* @typeParam Component - The type of API data that is stored within the builder
|
||||
*/
|
||||
export abstract class ComponentBuilder<Component extends APIBaseComponent<ComponentType>>
|
||||
implements JSONEncodable<Component>
|
||||
{
|
||||
export abstract class ComponentBuilder<
|
||||
Component extends APIBaseComponent<ComponentType>,
|
||||
> implements JSONEncodable<Component> {
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
import type { APIButtonComponent, APIButtonComponentWithSKUId, APIMessageComponentEmoji } from 'discord-api-types/v10';
|
||||
|
||||
export interface EmojiOrLabelButtonData
|
||||
extends Pick<Exclude<APIButtonComponent, APIButtonComponentWithSKUId>, 'emoji' | 'label'> {}
|
||||
export interface EmojiOrLabelButtonData extends Pick<
|
||||
Exclude<APIButtonComponent, APIButtonComponentWithSKUId>,
|
||||
'emoji' | 'label'
|
||||
> {}
|
||||
|
||||
/**
|
||||
* A mixin that adds emoji and label symbols to a button builder.
|
||||
|
||||
Reference in New Issue
Block a user