mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
docs(Constants): fix SweeperKeys type (#8157)
This commit is contained in:
@@ -113,7 +113,7 @@ exports.VoiceBasedChannelTypes = [ChannelType.GuildVoice, ChannelType.GuildStage
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {Object} Constants Constants that can be used in an enum or object-like way.
|
* @typedef {Object} Constants Constants that can be used in an enum or object-like way.
|
||||||
* @property {SweeperKey} SweeperKey The possible names of items that can be swept in sweepers
|
* @property {SweeperKey[]} SweeperKeys The possible names of items that can be swept in sweepers
|
||||||
* @property {NonSystemMessageTypes} NonSystemMessageTypes The types of messages that are not deemed a system type
|
* @property {NonSystemMessageTypes} NonSystemMessageTypes The types of messages that are not deemed a system type
|
||||||
* @property {TextBasedChannelTypes} TextBasedChannelTypes The types of channels that are text-based
|
* @property {TextBasedChannelTypes} TextBasedChannelTypes The types of channels that are text-based
|
||||||
* @property {ThreadChannelTypes} ThreadChannelTypes The types of channels that are threads
|
* @property {ThreadChannelTypes} ThreadChannelTypes The types of channels that are threads
|
||||||
|
|||||||
2
packages/discord.js/typings/index.d.ts
vendored
2
packages/discord.js/typings/index.d.ts
vendored
@@ -2972,7 +2972,7 @@ export type NonSystemMessageType =
|
|||||||
| MessageType.ContextMenuCommand;
|
| MessageType.ContextMenuCommand;
|
||||||
|
|
||||||
export const Constants: {
|
export const Constants: {
|
||||||
SweeperKeys: SweeperKey;
|
SweeperKeys: SweeperKey[];
|
||||||
NonSystemMessageTypes: NonSystemMessageType[];
|
NonSystemMessageTypes: NonSystemMessageType[];
|
||||||
TextBasedChannelTypes: TextBasedChannelTypes[];
|
TextBasedChannelTypes: TextBasedChannelTypes[];
|
||||||
ThreadChannelTypes: ThreadChannelType[];
|
ThreadChannelTypes: ThreadChannelType[];
|
||||||
|
|||||||
Reference in New Issue
Block a user