From 61b2f6122eff42276b8b787ec37c00edbbbbeabe Mon Sep 17 00:00:00 2001 From: cmoh Date: Thu, 11 Aug 2022 16:29:02 +0900 Subject: fix: Add second parameter definition --- svg.js.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; clear(): this; clone(): this; -- cgit v1.2.3