mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-17 12:16:38 +08:00
[jquery] Tween cannot be a class under JQuery.
This commit is contained in:
3
types/jquery/index.d.ts
vendored
3
types/jquery/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user