From f14b50ebecf281cd2ff02e004949c819a276f653 Mon Sep 17 00:00:00 2001 From: NightKev <34855794+DayKev@users.noreply.github.com> Date: Tue, 8 Apr 2025 19:58:33 -0700 Subject: [PATCH] Fix JSDocs return type of `Phaser.Tweens.Tween#getValue` The return type is now `number | null` instead of `number` --- src/tweens/tween/Tween.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tweens/tween/Tween.js b/src/tweens/tween/Tween.js index 908f36249d..5751d076e1 100644 --- a/src/tweens/tween/Tween.js +++ b/src/tweens/tween/Tween.js @@ -242,7 +242,7 @@ var Tween = new Class({ * * @param {number} [index=0] - The Tween Data to return the value from. * - * @return {number} The value of the requested Tween Data, or `null` if this Tween has been destroyed. + * @return {number|null} The value of the requested Tween Data, or `null` if this Tween has been destroyed. */ getValue: function (index) {