diff options
author | cmoh <cmoh@imagoworks.ai> | 2022-08-11 16:29:02 +0900 |
---|---|---|
committer | cmoh <cmoh@imagoworks.ai> | 2022-08-11 16:29:02 +0900 |
commit | 61b2f6122eff42276b8b787ec37c00edbbbbeabe (patch) | |
tree | 26e1d9805c380f96a45476aac52ea674ef8dacb8 | |
parent | 2b028c35ab1a77c38a850c3c21082a5dacc18ac8 (diff) | |
download | svg.js-61b2f6122eff42276b8b787ec37c00edbbbbeabe.tar.gz svg.js-61b2f6122eff42276b8b787ec37c00edbbbbeabe.zip |
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;
|