This commit is contained in:
Travis CI 2016-11-24 16:23:50 +00:00
parent 502a094a04
commit 3c4d820506

View file

@ -737,7 +737,7 @@ class Collection extends Map {
/** /**
* Combines this collection with others into a new collection. None of the source collections are modified. * Combines this collection with others into a new collection. None of the source collections are modified.
* @param {Collection} collections Collections to merge (infinite/rest argument, not an array) * @param {...Collection} collections Collections to merge
* @returns {Collection} * @returns {Collection}
* @example const newColl = someColl.concat(someOtherColl, anotherColl, ohBoyAColl); * @example const newColl = someColl.concat(someOtherColl, anotherColl, ohBoyAColl);
*/ */
@ -11159,7 +11159,7 @@ class Client extends EventEmitter {
* Sets a timeout that will be automatically cancelled if the client is destroyed. * Sets a timeout that will be automatically cancelled if the client is destroyed.
* @param {Function} fn Function to execute * @param {Function} fn Function to execute
* @param {number} delay Time to wait before executing (in milliseconds) * @param {number} delay Time to wait before executing (in milliseconds)
* @param {args} args Arguments for the function (infinite/rest argument, not an array) * @param {...*} args Arguments for the function
* @returns {Timeout} * @returns {Timeout}
*/ */
setTimeout(fn, delay, ...args) { setTimeout(fn, delay, ...args) {
@ -11184,7 +11184,7 @@ class Client extends EventEmitter {
* Sets an interval that will be automatically cancelled if the client is destroyed. * Sets an interval that will be automatically cancelled if the client is destroyed.
* @param {Function} fn Function to execute * @param {Function} fn Function to execute
* @param {number} delay Time to wait before executing (in milliseconds) * @param {number} delay Time to wait before executing (in milliseconds)
* @param {args} args Arguments for the function (infinite/rest argument, not an array) * @param {...*} args Arguments for the function
* @returns {Timeout} * @returns {Timeout}
*/ */
setInterval(fn, delay, ...args) { setInterval(fn, delay, ...args) {