aboutsummaryrefslogtreecommitdiffstats
path: root/svg.js.d.ts
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2020-06-01 18:07:19 +1000
committerGitHub <noreply@github.com>2020-06-01 18:07:19 +1000
commit09ad1754ae8e8962272d6b68742abe783f2f5b8a (patch)
tree6b5c19bade5e56a336c64502076e20316e882a49 /svg.js.d.ts
parent35ad521a7c1af0ad152d0c221fa3b54426d0e3a3 (diff)
downloadsvg.js-09ad1754ae8e8962272d6b68742abe783f2f5b8a.tar.gz
svg.js-09ad1754ae8e8962272d6b68742abe783f2f5b8a.zip
Fix add method for ForeignObject
Diffstat (limited to 'svg.js.d.ts')
-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