From: Diego Bonura Date: Tue, 7 Sep 2021 13:29:13 +0000 (+0200) Subject: Update svg.js.d.ts X-Git-Tag: 3.1.2~8^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F1215%2Fhead;p=svg.js.git Update svg.js.d.ts Add zoom():number to d.ts to get current zoom level --- 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; }