File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 33const BaseCollection = require ( '@discordjs/collection' ) ;
44const Util = require ( './Util' ) ;
55
6- /**
7- * A Map with additional utility methods. This is used throughout discord.js rather than Arrays for anything that has
8- * an ID, for significantly improved performance and ease-of-use.
9- * @extends {BaseCollection }
10- */
116class Collection extends BaseCollection {
127 toJSON ( ) {
138 return this . map ( e => ( typeof e . toJSON === 'function' ? e . toJSON ( ) : Util . flatten ( e ) ) ) ;
@@ -17,6 +12,6 @@ class Collection extends BaseCollection {
1712module . exports = Collection ;
1813
1914/**
20- * @external BaseCollection
21- * @see {@link https://discord.js.org/#/docs/collection/ }
15+ * @external Collection
16+ * @see {@link https://discord.js.org/#/docs/collection/master/class/Collection }
2217 */
You can’t perform that action at this time.
0 commit comments