summaryrefslogtreecommitdiffstats
path: root/svg.js.d.ts
diff options
context:
space:
mode:
authorKeith Bentley <Keith.Bentley@bentley.com>2019-02-11 11:57:28 -0500
committerKeith Bentley <Keith.Bentley@bentley.com>2019-02-11 11:57:28 -0500
commitbabd50e2ed2211399dc3a7a48614bc368345d2b0 (patch)
tree5265fd9f19b8a2a600013db2d9964d728e515885 /svg.js.d.ts
parent2965038c4b8ff8589302f84b4b052c7151e015fb (diff)
downloadsvg.js-babd50e2ed2211399dc3a7a48614bc368345d2b0.tar.gz
svg.js-babd50e2ed2211399dc3a7a48614bc368345d2b0.zip
missed constructors on Matrix and PathArray
Diffstat (limited to 'svg.js.d.ts')
-rw-r--r--svg.js.d.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts
index 8339137..f139a34 100644
--- a/svg.js.d.ts
+++ b/svg.js.d.ts
@@ -495,6 +495,7 @@ module "@svgdotjs/svg.js" {
type MatrixAlias = MatrixLike | number[] | Element | string;
class Matrix {
+ constructor();
constructor(source: MatrixAlias): Matrix;
constructor(a: number, b: number, c: number, d: number, e: number, f: number): Matrix;
a: number;
@@ -558,6 +559,7 @@ module "@svgdotjs/svg.js" {
// pathArray.js
class PathArray extends _Array {
+ constructor();
constructor(): PathArray;
constructor(d: PathArrayAlias): PathArray;
move(x: number, y: number): this;