Skip to content

Commit 7deaa9e

Browse files
authored
Merge pull request phaserjs#4517 from antoine-pous/patch-1
JSDoc fix returned object type
2 parents 5dfea01 + ce1577b commit 7deaa9e

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)