diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2022-08-12 07:45:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-12 07:45:06 +0200 |
commit | 067d268e9787dbf78a8c62c49403bad0b2fb8a97 (patch) | |
tree | 26e1d9805c380f96a45476aac52ea674ef8dacb8 | |
parent | 2b028c35ab1a77c38a850c3c21082a5dacc18ac8 (diff) | |
parent | 61b2f6122eff42276b8b787ec37c00edbbbbeabe (diff) | |
download | svg.js-067d268e9787dbf78a8c62c49403bad0b2fb8a97.tar.gz svg.js-067d268e9787dbf78a8c62c49403bad0b2fb8a97.zip |
Merge pull request #1280 from dhckdaks/1279-fix-addto-type-definition
fix: Add second parameter definition
-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 696e72e..baf405e 100644 --- a/svg.js.d.ts +++ b/svg.js.d.ts @@ -930,7 +930,7 @@ declare module "@svgdotjs/svg.js" { constructor(node?: HTMLElement, attr?: object);
constructor(att: object);
add(element: Element, i?: number): this;
- addTo(parent: Dom | HTMLElement | string): this
+ addTo(parent: Dom | HTMLElement | string, i?: number): this
children(): List<Element>;
clear(): this;
clone(): this;
|