summaryrefslogtreecommitdiffstats
path: root/svg.js.d.ts
diff options
context:
space:
mode:
authorKeith Bentley <Keith.Bentley@bentley.com>2019-02-11 14:04:49 -0500
committerKeith Bentley <Keith.Bentley@bentley.com>2019-02-11 14:04:49 -0500
commitc70300576bd7655fc5eab64d5400d9cabd33cd2d (patch)
tree1dc182b49a9557bf5d029ddcb242117b4ea6be8a /svg.js.d.ts
parentbabd50e2ed2211399dc3a7a48614bc368345d2b0 (diff)
downloadsvg.js-c70300576bd7655fc5eab64d5400d9cabd33cd2d.tar.gz
svg.js-c70300576bd7655fc5eab64d5400d9cabd33cd2d.zip
two constructors for PathArray
Diffstat (limited to 'svg.js.d.ts')
-rw-r--r--svg.js.d.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts
index f139a34..96df068 100644
--- a/svg.js.d.ts
+++ b/svg.js.d.ts
@@ -1,4 +1,4 @@
-module "@svgdotjs/svg.js" {
+declare module "@svgdotjs/svg.js" {
function SVG(): Svg;
function SVG(id: string): Svg;
@@ -560,7 +560,6 @@ module "@svgdotjs/svg.js" {
// pathArray.js
class PathArray extends _Array {
constructor();
- constructor(): PathArray;
constructor(d: PathArrayAlias): PathArray;
move(x: number, y: number): this;
size(width?: number, height?: number): this;