mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
TS defs fix
This commit is contained in:
parent
64b07c6ecb
commit
9bc6237831
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
|||
* @since 3.4.0
|
||||
*
|
||||
* @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 {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.
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
* @since 3.4.0
|
||||
*
|
||||
* @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} [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.
|
||||
|
|
Loading…
Reference in a new issue