From: Maxime Dupré Date: Thu, 17 Jun 2021 21:01:42 +0000 (-0400) Subject: Fixes types starting tsc 4.2.4 X-Git-Tag: 3.1.1~3^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F1204%2Fhead;p=svg.js.git Fixes types starting tsc 4.2.4 --- diff --git a/svg.js.d.ts b/svg.js.d.ts index c3c39c7..7e0e5f2 100644 --- a/svg.js.d.ts +++ b/svg.js.d.ts @@ -821,7 +821,7 @@ declare module "@svgdotjs/svg.js" { type TimeLike = number | TimesParam | Stepper - type EasingCallback = (...any) => number + type EasingCallback = (...any: any) => number type EasingLiteral = "<>" | "-" | "<" | ">" class Runner { @@ -1104,7 +1104,7 @@ declare module "@svgdotjs/svg.js" { viewbox(x: number, y: number, width: number, height: number): this; textPath(text: string | Text, path: string | Path): TextPath symbol(): Symbol - zoom(level: NumberAlias, point?: Point) + zoom(level: NumberAlias, point?: Point): any; } class Defs extends Container {