Skip to content

Commit b7bc26d

Browse files
committed
Correct types for GameObject#body?
1 parent d6e8600 commit b7bc26d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gameobjects/GameObject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ var GameObject = new Class({
169169
* If this Game Object is enabled for Arcade or Matter Physics then this property will contain a reference to a Physics Body.
170170
*
171171
* @name Phaser.GameObjects.GameObject#body
172-
* @type {?(object|Phaser.Physics.Arcade.Body|MatterJS.BodyType)}
172+
* @type {?(Phaser.Physics.Arcade.Body|Phaser.Physics.Arcade.StaticBody|MatterJS.BodyType)}
173173
* @default null
174174
* @since 3.0.0
175175
*/

0 commit comments

Comments
 (0)