diff options
Diffstat (limited to 'svg.js.d.ts')
-rw-r--r-- | svg.js.d.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts index d96d237..e8342d1 100644 --- a/svg.js.d.ts +++ b/svg.js.d.ts @@ -1391,7 +1391,8 @@ declare module "@svgdotjs/svg.js" { // ForeignObject.js
class ForeignObject extends Element {
- constructor(node: HTMLElement, attrs?: any)
+ constructor(node?: SVGForeignObjectElement, attrs?: object)
+ constructor(attrs?: object)
add(element: Dom, attrs?: any) : ForeignObject
}
|