diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2020-06-01 18:07:19 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-01 18:07:19 +1000 |
commit | 09ad1754ae8e8962272d6b68742abe783f2f5b8a (patch) | |
tree | 6b5c19bade5e56a336c64502076e20316e882a49 | |
parent | 35ad521a7c1af0ad152d0c221fa3b54426d0e3a3 (diff) | |
download | svg.js-09ad1754ae8e8962272d6b68742abe783f2f5b8a.tar.gz svg.js-09ad1754ae8e8962272d6b68742abe783f2f5b8a.zip |
Fix add method for ForeignObject
-rw-r--r-- | svg.js.d.ts | 2 |
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
|