]> source.dussan.org Git - svg.js.git/commitdiff
Update svg.js.d.ts 1215/head
authorDiego Bonura <diego@bonura.dev>
Tue, 7 Sep 2021 13:29:13 +0000 (15:29 +0200)
committerGitHub <noreply@github.com>
Tue, 7 Sep 2021 13:29:13 +0000 (15:29 +0200)
Add zoom():number to d.ts to get current zoom level

svg.js.d.ts

index 17f262edccba52eff82f291da813b19ab301d7c4..f45983fbec8b599a99c6f687c93d52694d78185b 100644 (file)
@@ -1104,6 +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(): number\r
         zoom(level: NumberAlias, point?: Point): this;\r
     }\r
 \r