Skip to content

Commit af86a3b

Browse files
authored
Merge pull request phaserjs#4258 from OmarShehata/jsdoc-syntax
Fix jsdoc syntax
2 parents 5120727 + 9abb11c commit af86a3b

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/gameobjects/GameObject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ var GameObject = new Class({
6666
* If you need to store complex data about your Game Object, look at using the Data Component instead.
6767
*
6868
* @name Phaser.GameObjects.GameObject#state
69-
* @type {{integer|string}}
69+
* @type {(integer|string)}
7070
* @since 3.16.0
7171
*/
7272
this.state = 0;

src/structs/List.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ var List = new Class({
711711
*
712712
* @name Phaser.Structs.List#first
713713
* @genericUse {T} - [$type]
714-
* @type {*} The first item in the List or `null` for an empty List.
714+
* @type {*}
715715
* @readonly
716716
* @since 3.0.0
717717
*/
@@ -738,7 +738,7 @@ var List = new Class({
738738
*
739739
* @name Phaser.Structs.List#last
740740
* @genericUse {T} - [$type]
741-
* @type {*} The last item in the List, or `null` for an empty List.
741+
* @type {*}
742742
* @readonly
743743
* @since 3.0.0
744744
*/
@@ -767,7 +767,7 @@ var List = new Class({
767767
*
768768
* @name Phaser.Structs.List#next
769769
* @genericUse {T} - [$type]
770-
* @type {*} The next item in the List, or `null` if the entire List has been traversed.
770+
* @type {*}
771771
* @readonly
772772
* @since 3.0.0
773773
*/
@@ -796,7 +796,7 @@ var List = new Class({
796796
*
797797
* @name Phaser.Structs.List#previous
798798
* @genericUse {T} - [$type]
799-
* @type {*} The previous item in the List, or `null` if the entire List has been traversed.
799+
* @type {*}
800800
* @readonly
801801
* @since 3.0.0
802802
*/

0 commit comments

Comments
 (0)