diff options
author | Dani <melon3r@protonmail.com> | 2020-11-16 10:34:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-16 10:34:20 +0100 |
commit | 52150ea9f3273cccfae38e96d6f1428fd79be158 (patch) | |
tree | ccad27a2fd85b22ff64fe765db48b12d877839f6 /svg.js.d.ts | |
parent | 9986cefa00f6261ab1ffca9911a4df74167fe217 (diff) | |
download | svg.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.ts | 2 |
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
|