mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 11:03:30 +01:00
Fix doc gen
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -5,7 +5,7 @@
|
|||||||
class Collection extends Map {
|
class Collection extends Map {
|
||||||
/**
|
/**
|
||||||
* Returns an ordered array of the values of this collection.
|
* Returns an ordered array of the values of this collection.
|
||||||
* @returns {*[]}
|
* @returns {array}
|
||||||
* @example
|
* @example
|
||||||
* // identical to:
|
* // identical to:
|
||||||
* Array.from(collection.values());
|
* Array.from(collection.values());
|
||||||
@@ -62,7 +62,7 @@ class Collection extends Map {
|
|||||||
* Returns an array of items where `item[key] === value` of the collection
|
* Returns an array of items where `item[key] === value` of the collection
|
||||||
* @param {string} key The key to filter by
|
* @param {string} key The key to filter by
|
||||||
* @param {*} value The expected value
|
* @param {*} value The expected value
|
||||||
* @returns {*[]}
|
* @returns {array}
|
||||||
* @example
|
* @example
|
||||||
* collection.getAll('username', 'Bob');
|
* collection.getAll('username', 'Bob');
|
||||||
*/
|
*/
|
||||||
@@ -126,7 +126,7 @@ class Collection extends Map {
|
|||||||
* Functionally identical shortcut to `collection.array().map(...)`.
|
* Functionally identical shortcut to `collection.array().map(...)`.
|
||||||
* @param {function} callback Function that produces an element of the new Array, taking three arguments
|
* @param {function} callback Function that produces an element of the new Array, taking three arguments
|
||||||
* @param {*} [thisArg] Optional. Value to use as this when executing callback.
|
* @param {*} [thisArg] Optional. Value to use as this when executing callback.
|
||||||
* @returns {*[]}
|
* @returns {array}
|
||||||
*/
|
*/
|
||||||
map(...args) {
|
map(...args) {
|
||||||
return this.array().map(...args);
|
return this.array().map(...args);
|
||||||
|
|||||||
Reference in New Issue
Block a user