]> source.dussan.org Git - svg.js.git/commitdiff
post-review fixes 831/head
authormpro7 <justinstarlight@gmail.com>
Sat, 31 Mar 2018 13:15:30 +0000 (15:15 +0200)
committermpro7 <justinstarlight@gmail.com>
Sat, 31 Mar 2018 13:15:30 +0000 (15:15 +0200)
svg.js.d.ts

index 75ea5334fc09e049a34a529d4c791908f124c884..39d3e95155fdd554a52d70e3103e0f2d70179805 100644 (file)
@@ -754,10 +754,10 @@ declare namespace svgjs {
     // selector.js\r
     interface Library {\r
         get(id: string): Element;\r
-        select(query: string): Set;\r
+        select(query: string, parent?: HTMLElement): Set;\r
     }\r
     interface Parent {\r
-        select(query: string, parent: HTMLElement): Set;\r
+        select(query: string): Set;\r
     }\r
 \r
     // set.js\r