summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcmoh <cmoh@imagoworks.ai>2022-08-11 16:29:02 +0900
committercmoh <cmoh@imagoworks.ai>2022-08-11 16:29:02 +0900
commit61b2f6122eff42276b8b787ec37c00edbbbbeabe (patch)
tree26e1d9805c380f96a45476aac52ea674ef8dacb8
parent2b028c35ab1a77c38a850c3c21082a5dacc18ac8 (diff)
downloadsvg.js-61b2f6122eff42276b8b787ec37c00edbbbbeabe.tar.gz
svg.js-61b2f6122eff42276b8b787ec37c00edbbbbeabe.zip
fix: Add second parameter definition
-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 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;