mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
docs: allow @mixes TSDoc tag for documenting mixins (#10545)
This commit is contained in:
@@ -9,6 +9,11 @@ import { SharedChatInputCommandSubcommands } from './mixins/SharedSubcommands.js
|
||||
|
||||
/**
|
||||
* A builder that creates API-compatible JSON data for chat input commands.
|
||||
*
|
||||
* @mixes CommandBuilder<RESTPostAPIChatInputApplicationCommandsJSONBody>
|
||||
* @mixes SharedChatInputCommandOptions
|
||||
* @mixes SharedNameAndDescription
|
||||
* @mixes SharedChatInputCommandSubcommands
|
||||
*/
|
||||
export class ChatInputCommandBuilder extends Mixin(
|
||||
CommandBuilder<RESTPostAPIChatInputApplicationCommandsJSONBody>,
|
||||
|
||||
9
packages/builders/tsdoc.json
Normal file
9
packages/builders/tsdoc.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
|
||||
"tagDefinitions": [
|
||||
{
|
||||
"tagName": "@mixes",
|
||||
"syntaxKind": "block"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user