From 706908910c4fff48bd40d08af499319bc55e85cc Mon Sep 17 00:00:00 2001 From: Leonard Thieu Date: Mon, 26 Jun 2017 13:02:05 -0400 Subject: [PATCH] [jquery] Tween cannot be a class under JQuery. --- types/jquery/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/jquery/index.d.ts b/types/jquery/index.d.ts index 6c9f2abe7b..ebedbe2530 100644 --- a/types/jquery/index.d.ts +++ b/types/jquery/index.d.ts @@ -5568,10 +5568,11 @@ declare namespace JQuery { complete?(this: TElement): void; } + // This should be a class but doesn't work correctly under the JQuery namespace. Tween should be an inner class of jQuery. // Undocumented // https://github.com/jquery/api.jquery.com/issues/391 // https://github.com/jquery/api.jquery.com/issues/61 - class Tween { + interface Tween { easing: string; elem: TElement; end: number;