From 09ad1754ae8e8962272d6b68742abe783f2f5b8a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulrich-Matthias=20Sch=C3=A4fer?= Date: Mon, 1 Jun 2020 18:07:19 +1000 Subject: [PATCH] Fix add method for ForeignObject --- svg.js.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svg.js.d.ts b/svg.js.d.ts index e8342d1..5b7b3fa 100644 --- a/svg.js.d.ts +++ b/svg.js.d.ts @@ -1393,7 +1393,7 @@ declare module "@svgdotjs/svg.js" { class ForeignObject extends Element { constructor(node?: SVGForeignObjectElement, attrs?: object) constructor(attrs?: object) - add(element: Dom, attrs?: any) : ForeignObject + add(element: Dom, i?: number): ForeignObject } // image.js -- 2.39.5