diff options
-rw-r--r-- | svg.js.d.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts index 14e0fb1..dec13f6 100644 --- a/svg.js.d.ts +++ b/svg.js.d.ts @@ -248,6 +248,7 @@ declare namespace svgjs { size(width?: NumberAlias, height?: NumberAlias): this;
clone(): Element;
+ clone(parent: Parent): Element;
remove(): this;
replace(element: Element): Element;
@@ -840,9 +841,11 @@ declare namespace svgjs { }
interface Parent {
font(font: FontData): this;
+ font(key: string, value: any): this;
}
interface Text {
font(font: FontData): this;
+ font(key: string, value: any): this;
}
// text.js
|