瀏覽代碼

fix: Add second parameter definition

tags/3.2.0
cmoh 1 年之前
父節點
當前提交
61b2f6122e
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      svg.js.d.ts

+ 1
- 1
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;

Loading…
取消
儲存