aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Dalton <aaron@daltons.ca>2019-02-16 13:32:42 -0700
committerAaron Dalton <aaron@daltons.ca>2019-02-16 13:32:42 -0700
commit162d7bb5b82ba105c88880fec16681bf03fc1eb9 (patch)
treebe58ff9426029ff4619a7002dc268a809b0121e9
parentac4e41609d44f186944770361cbd228bdd6bf840 (diff)
downloadsvg.js-162d7bb5b82ba105c88880fec16681bf03fc1eb9.tar.gz
svg.js-162d7bb5b82ba105c88880fec16681bf03fc1eb9.zip
Added missing key/value overload for 'text.font()'
-rw-r--r--svg.js.d.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts
index 05206b3..0b4049a 100644
--- a/svg.js.d.ts
+++ b/svg.js.d.ts
@@ -840,9 +840,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