mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 18:43:31 +01:00
feat(LimitedCollection): export LimitedCollection (#6043)
* feat(LimitedCollection): export LimitedCollection * fix: remove @private * fix: typings
This commit is contained in:
@@ -21,6 +21,7 @@ module.exports = {
|
||||
DiscordAPIError: require('./rest/DiscordAPIError'),
|
||||
HTTPError: require('./rest/HTTPError'),
|
||||
RateLimitError: require('./rest/RateLimitError'),
|
||||
LimitedCollection: require('./util/LimitedCollection'),
|
||||
MessageFlags: require('./util/MessageFlags'),
|
||||
Intents: require('./util/Intents'),
|
||||
Options: require('./util/Options'),
|
||||
|
||||
@@ -8,7 +8,6 @@ const Collection = require('./Collection.js');
|
||||
* @extends {Collection}
|
||||
* @param {number} [maxSize=0] The maximum size of the Collection
|
||||
* @param {Iterable} [iterable=null] Optional entries passed to the Map constructor.
|
||||
* @private
|
||||
*/
|
||||
class LimitedCollection extends Collection {
|
||||
constructor(maxSize = 0, iterable = null) {
|
||||
|
||||
Reference in New Issue
Block a user