TS defs fix

This commit is contained in:
Richard Davey 2018-04-11 16:58:32 +01:00
parent 64b07c6ecb
commit 9bc6237831
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@
* @since 3.4.0 * @since 3.4.0
* *
* @param {array} array - The array to be added to. * @param {array} array - The array to be added to.
* @param {*|Array.<*>} item - The item, or array of items, to add to the array. Each item must be unique within the array. * @param {any|any[]} item - The item, or array of items, to add to the array. Each item must be unique within the array.
* @param {integer} [limit] - Optional limit which caps the size of the array. * @param {integer} [limit] - Optional limit which caps the size of the array.
* @param {function} [callback] - A callback to be invoked for each item successfully added to the array. * @param {function} [callback] - A callback to be invoked for each item successfully added to the array.
* @param {object} [context] - The context in which the callback is invoked. * @param {object} [context] - The context in which the callback is invoked.

View file

@ -22,7 +22,7 @@
* @since 3.4.0 * @since 3.4.0
* *
* @param {array} array - The array to be added to. * @param {array} array - The array to be added to.
* @param {*} item - The item, or array of items, to add to the array. * @param {any|any[]} item - The item, or array of items, to add to the array.
* @param {integer} [index=0] - The index in the array where the item will be inserted. * @param {integer} [index=0] - The index in the array where the item will be inserted.
* @param {integer} [limit] - Optional limit which caps the size of the array. * @param {integer} [limit] - Optional limit which caps the size of the array.
* @param {function} [callback] - A callback to be invoked for each item successfully added to the array. * @param {function} [callback] - A callback to be invoked for each item successfully added to the array.