]> source.dussan.org Git - svg.js.git/commitdiff
Fixes Element.animate typing
authorMatthew Radcliffe <mradcliffe@softpixel.com>
Thu, 12 Dec 2019 19:22:30 +0000 (14:22 -0500)
committerMatthew Radcliffe <mradcliffe@softpixel.com>
Thu, 12 Dec 2019 19:42:23 +0000 (14:42 -0500)
svg.js.d.ts

index 30167e62a1f1268604b9a7969dd520bf2aae6bea..60c3a55a9f2c7359c8c860a04f44be612197de73 100644 (file)
@@ -1169,8 +1169,7 @@ declare module "@svgdotjs/svg.js" {
 \r
         addClass(name: string): this;\r
         after(element: Element): Element;\r
-        animate(duration?: number, ease?: string, delay?: number): Runner;\r
-        animate(info: { ease?: string; duration?: number; delay?: number }): Runner;\r
+        animate(duration?: number, delay?: number, when?: string): Runner;\r
         delay(by: number, when?: string): Runner\r
         attr(): any;\r
         attr(name: string, value: any, namespace?: string): this;\r