]> source.dussan.org Git - svg.js.git/commitdiff
fix: Add second parameter definition 1280/head
authorcmoh <cmoh@imagoworks.ai>
Thu, 11 Aug 2022 07:29:02 +0000 (16:29 +0900)
committercmoh <cmoh@imagoworks.ai>
Thu, 11 Aug 2022 07:29:02 +0000 (16:29 +0900)
svg.js.d.ts

index 696e72e39df1838c2a9ce24de360c97e2383aba7..baf405ecc8dae5c5ecd12ca422998afd05fd79c1 100644 (file)
@@ -930,7 +930,7 @@ declare module "@svgdotjs/svg.js" {
         constructor(node?: HTMLElement, attr?: object);\r
         constructor(att: object);\r
         add(element: Element, i?: number): this;\r
-        addTo(parent: Dom | HTMLElement | string): this\r
+        addTo(parent: Dom | HTMLElement | string, i?: number): this\r
         children(): List<Element>;\r
         clear(): this;\r
         clone(): this;\r