File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -601,8 +601,8 @@ var Container = new Class({
601601 * @method Phaser.GameObjects.Container#getFirst
602602 * @since 3.4.0
603603 *
604- * @param {string } [ property] - The property to test on each Game Object in the Container.
605- * @param {* } [ value] - The value to test the property against. Must pass a strict (`===`) comparison check.
604+ * @param {string } property - The property to test on each Game Object in the Container.
605+ * @param {* } value - The value to test the property against. Must pass a strict (`===`) comparison check.
606606 * @param {integer } [startIndex=0] - An optional start index to search from.
607607 * @param {integer } [endIndex=Container.length] - An optional end index to search up to (but not included)
608608 *
Original file line number Diff line number Diff line change @@ -10,10 +10,9 @@ var NOOP = require('../utils/NOOP');
1010var StableSort = require ( '../utils/array/StableSort' ) ;
1111
1212/**
13- * @callback EachListCallback
14- * @generic I - [item]
13+ * @callback EachListCallback<I>
1514 *
16- * @param {* } item - The item which is currently being processed.
15+ * @param {I } item - The item which is currently being processed.
1716 * @param {...* } [args] - Additional arguments that will be passed to the callback, after the child.
1817 */
1918
@@ -271,7 +270,6 @@ var List = new Class({
271270 * @method Phaser.Structs.List#getFirst
272271 * @since 3.0.0
273272 *
274- * @genericUse {T} - [value]
275273 * @genericUse {T | null} - [$return]
276274 *
277275 * @param {string } property - The name of the property to test or a falsey value to have no criterion.
Original file line number Diff line number Diff line change 77var Class = require ( '../utils/Class' ) ;
88
99/**
10- * @callback EachMapCallback
11- * @generic E - [entry]
10+ * @callback EachMapCallback<E>
1211 *
1312 * @param {string } key - The key of the Map entry.
14- * @param {* } entry - The value of the Map entry.
13+ * @param {E } entry - The value of the Map entry.
1514 *
1615 * @return {?boolean } The callback result.
1716 */
Original file line number Diff line number Diff line change 77var Class = require ( '../utils/Class' ) ;
88
99/**
10- * @callback EachSetCallback
11- * @generic E - [entry]
10+ * @callback EachSetCallback<E>
1211 *
13- * @param {* } entry - The Set entry.
12+ * @param {E } entry - The Set entry.
1413 * @param {number } index - The index of the entry within the Set.
1514 *
1615 * @return {?boolean } The callback result.
You can’t perform that action at this time.
0 commit comments