mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +01:00
fix: generateSplitDocumentation for external docs on main (#10827)
* fix: generateSplitDocumentation for external docs on main * fix: remove console.log * chore: apply suggestion Co-authored-by: Almeida <github@almeidx.dev> * fix: mixes tag * chore: docs include collection --------- Co-authored-by: Almeida <github@almeidx.dev> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable jsdoc/valid-types */
|
||||
import { ApplicationCommandType, type RESTPostAPIChatInputApplicationCommandsJSONBody } from 'discord-api-types/v10';
|
||||
import { Mixin } from 'ts-mixer';
|
||||
import { validate } from '../../../util/validation.js';
|
||||
@@ -10,10 +11,10 @@ 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
|
||||
* @mixes {@link CommandBuilder}\<{@link discord-api-types/v10#(RESTPostAPIChatInputApplicationCommandsJSONBody:interface)}\>
|
||||
* @mixes {@link SharedChatInputCommandOptions}
|
||||
* @mixes {@link SharedNameAndDescription}
|
||||
* @mixes {@link SharedChatInputCommandSubcommands}
|
||||
*/
|
||||
export class ChatInputCommandBuilder extends Mixin(
|
||||
CommandBuilder<RESTPostAPIChatInputApplicationCommandsJSONBody>,
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
{
|
||||
"$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
|
||||
"tagDefinitions": [
|
||||
{
|
||||
"tagName": "@mixes",
|
||||
"syntaxKind": "block"
|
||||
}
|
||||
]
|
||||
"extends": ["@discordjs/api-extractor/extends/tsdoc-base.json"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user