From 09ad1754ae8e8962272d6b68742abe783f2f5b8a Mon Sep 17 00:00:00 2001 From: Ulrich-Matthias Schäfer Date: Mon, 1 Jun 2020 18:07:19 +1000 Subject: Fix add method for ForeignObject --- svg.js.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svg.js.d.ts') 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 -- cgit v1.2.3