diff options
author | Matthew Radcliffe <mradcliffe@softpixel.com> | 2019-12-12 14:22:30 -0500 |
---|---|---|
committer | Matthew Radcliffe <mradcliffe@softpixel.com> | 2019-12-12 14:42:23 -0500 |
commit | be7ae4c2f6077af9363a266e59eba36dbface813 (patch) | |
tree | a91794f91dd35f54fb6bd1a1b9c0193d127f2c34 /svg.js.d.ts | |
parent | 5c7701cc09f0efb9131a798c83f8d93e7b259b04 (diff) | |
download | svg.js-be7ae4c2f6077af9363a266e59eba36dbface813.tar.gz svg.js-be7ae4c2f6077af9363a266e59eba36dbface813.zip |
Fixes Element.animate typing
Diffstat (limited to 'svg.js.d.ts')
-rw-r--r-- | svg.js.d.ts | 3 |
1 files changed, 1 insertions, 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;
|