From 4b1f798ee39a92bd93e38c0417a86d2c4b71fafe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Maxime=20Dupr=C3=A9?= Date: Thu, 17 Jun 2021 17:01:42 -0400 Subject: [PATCH] Fixes types starting tsc 4.2.4 --- svg.js.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.5