aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--svg.js.d.ts2
1 files changed, 1 insertions, 1 deletions
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