diff options
-rw-r--r-- | svg.js.d.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts index dec13f6..47d858e 100644 --- a/svg.js.d.ts +++ b/svg.js.d.ts @@ -347,8 +347,8 @@ declare namespace svgjs { }
}
interface Element {
- animate(duration?: number, ease?: string, delay?: number): Animation;
- animate(info: { ease?: string; duration?: number; delay?: number }): Animation;
+ animate(duration?: number, ease?: string | ((pos: number) => number), delay?: number): Animation;
+ animate(info: { ease?: string | ((pos: number) => number); duration?: number; delay?: number }): Animation;
stop(jumpToEnd:boolean,clearQueue:boolean): Animation;
}
// TODO finishs FX
@@ -1034,4 +1034,4 @@ declare namespace svgjs { // TODO style, etc, bbox...
}
-}
\ No newline at end of file +}
|