From c70300576bd7655fc5eab64d5400d9cabd33cd2d Mon Sep 17 00:00:00 2001 From: Keith Bentley Date: Mon, 11 Feb 2019 14:04:49 -0500 Subject: [PATCH] two constructors for PathArray --- svg.js.d.ts | 3 +-- 1 file changed, 1 insertion(+), 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; -- 2.39.5