diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2019-02-16 22:36:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-16 22:36:52 +0100 |
commit | 1574b27952a8bfc27671c6abbbdf19a960824894 (patch) | |
tree | 54c3c296e7253ccef56ed359b48c2341a5949502 | |
parent | 927f5ba2a2416c089af8fc055d2acea4cf38975d (diff) | |
parent | 162d7bb5b82ba105c88880fec16681bf03fc1eb9 (diff) | |
download | svg.js-1574b27952a8bfc27671c6abbbdf19a960824894.tar.gz svg.js-1574b27952a8bfc27671c6abbbdf19a960824894.zip |
Merge pull request #962 from Perlkonig/bugfix/missing-font-overload
Added missing key/value overload for 'text.font()'
-rw-r--r-- | svg.js.d.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts index 8ba487d..1fd6b35 100644 --- a/svg.js.d.ts +++ b/svg.js.d.ts @@ -841,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
|