[jquery] Tween cannot be a class under JQuery.

This commit is contained in:
Leonard Thieu
2017-06-26 13:02:05 -04:00
parent 6fa5e4bc98
commit 706908910c

View File

@@ -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<TElement> {
interface Tween<TElement> {
easing: string;
elem: TElement;
end: number;