From: Matthew Radcliffe Date: Thu, 12 Dec 2019 19:22:30 +0000 (-0500) Subject: Fixes Element.animate typing X-Git-Tag: 3.1.0~77^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=be7ae4c2f6077af9363a266e59eba36dbface813;p=svg.js.git Fixes Element.animate typing --- 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;