]> source.dussan.org Git - svg.js.git/commitdiff
Added missing key/value overload for 'text.font()' 962/head
authorAaron Dalton <aaron@daltons.ca>
Sat, 16 Feb 2019 20:32:42 +0000 (13:32 -0700)
committerAaron Dalton <aaron@daltons.ca>
Sat, 16 Feb 2019 20:32:42 +0000 (13:32 -0700)
svg.js.d.ts

index 05206b326850e0366854a01f10705bedada9220a..0b4049a0637f6c0530950b655081b6861e60f4a7 100644 (file)
@@ -840,9 +840,11 @@ declare namespace svgjs {
     }\r
     interface Parent {\r
         font(font: FontData): this;\r
+        font(key: string, value: any): this;\r
     }\r
     interface Text {\r
         font(font: FontData): this;\r
+        font(key: string, value: any): this;\r
     }\r
 \r
     // text.js\r