From ce1577bcc3d719011e7643d289653a1b48d67db8 Mon Sep 17 00:00:00 2001 From: Antoine Pous Date: Thu, 9 May 2019 15:20:37 +0200 Subject: [PATCH] JSDoc fix returned object type --- src/gameobjects/text/MeasureText.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gameobjects/text/MeasureText.js b/src/gameobjects/text/MeasureText.js index 605b67625f..c3fcf0ab0e 100644 --- a/src/gameobjects/text/MeasureText.js +++ b/src/gameobjects/text/MeasureText.js @@ -14,7 +14,7 @@ var CanvasPool = require('../../display/canvas/CanvasPool'); * * @param {Phaser.GameObjects.TextStyle} textStyle - The TextStyle object to measure. * - * @return {object} An object containing the ascent, descent and fontSize of the TextStyle. + * @return {Phaser.Types.GameObjects.Text.TextMetrics} An object containing the ascent, descent and fontSize of the TextStyle. */ var MeasureText = function (textStyle) {