Skip to content

Commit ce1577b

Browse files
authored
JSDoc fix returned object type
1 parent 0a0330b commit ce1577b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gameobjects/text/MeasureText.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var CanvasPool = require('../../display/canvas/CanvasPool');
1414
*
1515
* @param {Phaser.GameObjects.TextStyle} textStyle - The TextStyle object to measure.
1616
*
17-
* @return {object} An object containing the ascent, descent and fontSize of the TextStyle.
17+
* @return {Phaser.Types.GameObjects.Text.TextMetrics} An object containing the ascent, descent and fontSize of the TextStyle.
1818
*/
1919
var MeasureText = function (textStyle)
2020
{

0 commit comments

Comments
 (0)