]> source.dussan.org Git - svg.js.git/commitdiff
Update svg.js.d.ts
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>
Fri, 18 Jun 2021 06:59:04 +0000 (16:59 +1000)
committerGitHub <noreply@github.com>
Fri, 18 Jun 2021 06:59:04 +0000 (16:59 +1000)
zoom should return `this`

svg.js.d.ts

index 7e0e5f220e7cb287d6e994499d51f4bd4bb94076..17f262edccba52eff82f291da813b19ab301d7c4 100644 (file)
@@ -1104,7 +1104,7 @@ declare module "@svgdotjs/svg.js" {
         viewbox(x: number, y: number, width: number, height: number): this;\r
         textPath(text: string | Text, path: string | Path): TextPath\r
         symbol(): Symbol\r
-        zoom(level: NumberAlias, point?: Point): any;\r
+        zoom(level: NumberAlias, point?: Point): this;\r
     }\r
 \r
     class Defs extends Container {\r