mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +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.
|
||||
* @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 {TextBasedChannelTypes} TextBasedChannelTypes The types of channels that are text-based
|
||||
* @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;
|
||||
|
||||
export const Constants: {
|
||||
SweeperKeys: SweeperKey;
|
||||
SweeperKeys: SweeperKey[];
|
||||
NonSystemMessageTypes: NonSystemMessageType[];
|
||||
TextBasedChannelTypes: TextBasedChannelTypes[];
|
||||
ThreadChannelTypes: ThreadChannelType[];
|
||||
|
||||
Reference in New Issue
Block a user