mirror of
https://github.com/danbulant/discord.js
synced 2026-05-24 20:42:27 +00:00
Fix doc gen
This commit is contained in:
parent
0c32e590a8
commit
4d2bb891a9
2 changed files with 4 additions and 4 deletions
File diff suppressed because one or more lines are too long
|
|
@ -5,7 +5,7 @@
|
|||
class Collection extends Map {
|
||||
/**
|
||||
* Returns an ordered array of the values of this collection.
|
||||
* @returns {*[]}
|
||||
* @returns {array}
|
||||
* @example
|
||||
* // identical to:
|
||||
* Array.from(collection.values());
|
||||
|
|
@ -62,7 +62,7 @@ class Collection extends Map {
|
|||
* Returns an array of items where `item[key] === value` of the collection
|
||||
* @param {string} key The key to filter by
|
||||
* @param {*} value The expected value
|
||||
* @returns {*[]}
|
||||
* @returns {array}
|
||||
* @example
|
||||
* collection.getAll('username', 'Bob');
|
||||
*/
|
||||
|
|
@ -126,7 +126,7 @@ class Collection extends Map {
|
|||
* Functionally identical shortcut to `collection.array().map(...)`.
|
||||
* @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.
|
||||
* @returns {*[]}
|
||||
* @returns {array}
|
||||
*/
|
||||
map(...args) {
|
||||
return this.array().map(...args);
|
||||
|
|
|
|||
Loading…
Reference in a new issue