From fabf1801e3b891d2ea59c5f58a18333126a3b88c Mon Sep 17 00:00:00 2001 From: Diego Bonura Date: Tue, 7 Sep 2021 15:29:13 +0200 Subject: Update svg.js.d.ts Add zoom():number to d.ts to get current zoom level --- svg.js.d.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'svg.js.d.ts') diff --git a/svg.js.d.ts b/svg.js.d.ts index 17f262e..f45983f 100644 --- a/svg.js.d.ts +++ b/svg.js.d.ts @@ -1104,6 +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(): number zoom(level: NumberAlias, point?: Point): this; } -- cgit v1.2.3