]> source.dussan.org Git - svg.js.git/commitdiff
Add getter form of svg method to TypeScript definition 748/head
authorBrian Schantz <lastchance@gmail.com>
Sun, 8 Oct 2017 17:35:06 +0000 (10:35 -0700)
committerBrian Schantz <lastchance@gmail.com>
Sun, 8 Oct 2017 17:35:06 +0000 (10:35 -0700)
svg.js.d.ts

index 3456d8d55ff0c4eba4fd85007ecddd82b0c7dd36..befa2b6a639a3a3f741daeba9ae410aa03e84830 100644 (file)
@@ -278,6 +278,7 @@ declare namespace svgjs {
         native(): LinkedHTMLElement;\r
 \r
         svg(svg: string): this;\r
+        svg(): string;\r
         \r
         writeDataToDom(): this,\r
         setData(data: object): this,\r