From 5b3485dea05c5124ecd62d8b16a8f311be41f5e9 Mon Sep 17 00:00:00 2001 From: Ty <136642464+theTyster@users.noreply.github.com> Date: Wed, 10 Jul 2024 19:36:48 +0000 Subject: [PATCH] Fix: Closes bracket in example. --- types/timeline.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/timeline.d.ts b/types/timeline.d.ts index 05bfbd97..0071930f 100644 --- a/types/timeline.d.ts +++ b/types/timeline.d.ts @@ -481,7 +481,7 @@ declare namespace gsap.core { * Tween linearly from a particular time or label to another time or label and then stops. * * ```js - * tl.tweenFromTo("myLabel", 5}); // tween from myLabel to the 5 second mark + * tl.tweenFromTo({"myLabel", 5}); // tween from myLabel to the 5 second mark * ``` * * @param {Position} fromPosition