Browse Source

fix: Add second parameter definition

tags/3.2.0
cmoh 1 year ago
parent
commit
61b2f6122e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      svg.js.d.ts

+ 1
- 1
svg.js.d.ts View File

@@ -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;

Loading…
Cancel
Save