aboutsummaryrefslogtreecommitdiffstats
path: root/svg.js.d.ts
diff options
context:
space:
mode:
authorDani <melon3r@protonmail.com>2020-11-16 10:34:20 +0100
committerGitHub <noreply@github.com>2020-11-16 10:34:20 +0100
commit52150ea9f3273cccfae38e96d6f1428fd79be158 (patch)
treeccad27a2fd85b22ff64fe765db48b12d877839f6 /svg.js.d.ts
parent9986cefa00f6261ab1ffca9911a4df74167fe217 (diff)
downloadsvg.js-52150ea9f3273cccfae38e96d6f1428fd79be158.tar.gz
svg.js-52150ea9f3273cccfae38e96d6f1428fd79be158.zip
Allow strings to be passed as transform origin on TS
We need this to be able to pass strings like "top-right" or "center" as transform origin on TypeScript, as they're already supported on JavaScript. @neomorfeo
Diffstat (limited to 'svg.js.d.ts')
-rw-r--r--svg.js.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts
index a34354e..496f749 100644
--- a/svg.js.d.ts
+++ b/svg.js.d.ts
@@ -481,7 +481,7 @@ declare module "@svgdotjs/svg.js" {
scaleY?: number
shear?: number
theta?: number
- origin?: CoordinateXY
+ origin?: CoordinateXY | string
around?: CoordinateXY
ox?: number
originX?: number