Skip to content

Commit 87e8eba

Browse files
committed
Correctly type style in TextFactory
1 parent a525e43 commit 87e8eba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gameobjects/text/static/TextFactory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var GameObjectFactory = require('../../GameObjectFactory');
4141
* @param {number} x - The horizontal position of this Game Object in the world.
4242
* @param {number} y - The vertical position of this Game Object in the world.
4343
* @param {(string|string[])} text - The text this Text object will display.
44-
* @param {object} [style] - The Text style configuration object.
44+
* @param {Phaser.Types.GameObjects.Text.TextStyle} [style] - The Text style configuration object.
4545
*
4646
* @return {Phaser.GameObjects.Text} The Game Object that was created.
4747
*/

0 commit comments

Comments
 (0)