Factory.staticBody had the wrong return type in the docs/TS defs. Fix #6693

This commit is contained in:
Richard Davey 2024-01-12 18:18:06 +00:00
parent 81d985b7ef
commit 786a3933cd

View file

@ -297,7 +297,7 @@ var Factory = new Class({
* @param {number} [width=64] - The width of the Body in pixels. Cannot be negative or zero.
* @param {number} [height=64] - The height of the Body in pixels. Cannot be negative or zero.
*
* @return {Phaser.Physics.Arcade.Body} The Body that was created.
* @return {Phaser.Physics.Arcade.StaticBody} The Static Body that was created.
*/
staticBody: function (x, y, width, height)
{