From be7ae4c2f6077af9363a266e59eba36dbface813 Mon Sep 17 00:00:00 2001 From: Matthew Radcliffe Date: Thu, 12 Dec 2019 14:22:30 -0500 Subject: [PATCH] Fixes Element.animate typing --- svg.js.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/svg.js.d.ts b/svg.js.d.ts index 30167e6..60c3a55 100644 --- a/svg.js.d.ts +++ b/svg.js.d.ts @@ -1169,8 +1169,7 @@ declare module "@svgdotjs/svg.js" { addClass(name: string): this; after(element: Element): Element; - animate(duration?: number, ease?: string, delay?: number): Runner; - animate(info: { ease?: string; duration?: number; delay?: number }): Runner; + animate(duration?: number, delay?: number, when?: string): Runner; delay(by: number, when?: string): Runner attr(): any; attr(name: string, value: any, namespace?: string): this; -- 2.39.5