Skip to content

Commit 9bc6237

Browse files
committed
TS defs fix
1 parent 64b07c6 commit 9bc6237

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/utils/array/Add.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* @since 3.4.0
2121
*
2222
* @param {array} array - The array to be added to.
23-
* @param {*|Array.<*>} item - The item, or array of items, to add to the array. Each item must be unique within the array.
23+
* @param {any|any[]} item - The item, or array of items, to add to the array. Each item must be unique within the array.
2424
* @param {integer} [limit] - Optional limit which caps the size of the array.
2525
* @param {function} [callback] - A callback to be invoked for each item successfully added to the array.
2626
* @param {object} [context] - The context in which the callback is invoked.

src/utils/array/AddAt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* @since 3.4.0
2323
*
2424
* @param {array} array - The array to be added to.
25-
* @param {*} item - The item, or array of items, to add to the array.
25+
* @param {any|any[]} item - The item, or array of items, to add to the array.
2626
* @param {integer} [index=0] - The index in the array where the item will be inserted.
2727
* @param {integer} [limit] - Optional limit which caps the size of the array.
2828
* @param {function} [callback] - A callback to be invoked for each item successfully added to the array.

0 commit comments

Comments
 (0)