@@ -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
@@ -710,7 +709,7 @@ var List = new Class({
710709 *
711710 * @name Phaser.Structs.List#first
712711 * @genericUse {T} - [$type]
713- * @type {* } The first item in the List or `null` for an empty List.
712+ * @type {* }
714713 * @readonly
715714 * @since 3.0.0
716715 */
@@ -737,7 +736,7 @@ var List = new Class({
737736 *
738737 * @name Phaser.Structs.List#last
739738 * @genericUse {T} - [$type]
740- * @type {* } The last item in the List, or `null` for an empty List.
739+ * @type {* }
741740 * @readonly
742741 * @since 3.0.0
743742 */
@@ -766,7 +765,7 @@ var List = new Class({
766765 *
767766 * @name Phaser.Structs.List#next
768767 * @genericUse {T} - [$type]
769- * @type {* } The next item in the List, or `null` if the entire List has been traversed.
768+ * @type {* }
770769 * @readonly
771770 * @since 3.0.0
772771 */
@@ -795,7 +794,7 @@ var List = new Class({
795794 *
796795 * @name Phaser.Structs.List#previous
797796 * @genericUse {T} - [$type]
798- * @type {* } The previous item in the List, or `null` if the entire List has been traversed.
797+ * @type {* }
799798 * @readonly
800799 * @since 3.0.0
801800 */
0 commit comments