aboutsummaryrefslogtreecommitdiffstats
path: root/svg.js.d.ts
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2021-06-18 16:56:36 +1000
committerGitHub <noreply@github.com>2021-06-18 16:56:36 +1000
commit14a828fe245bbda07598cad6827d41df40742dd2 (patch)
tree924e978ede326721f50a77079bd3e675ca5a2e8e /svg.js.d.ts
parent3397aaf37e52016904c3eb41117bf71a6ef0645c (diff)
parent4b1f798ee39a92bd93e38c0417a86d2c4b71fafe (diff)
downloadsvg.js-14a828fe245bbda07598cad6827d41df40742dd2.tar.gz
svg.js-14a828fe245bbda07598cad6827d41df40742dd2.zip
Merge pull request #1204 from maximedupre/patch-1
Fixes typings starting tsc 4.2.4
Diffstat (limited to 'svg.js.d.ts')
-rw-r--r--svg.js.d.ts4
1 files 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 {