aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpycraft114 <pycraft114@gmail.com>2018-05-09 17:15:59 +0900
committerpycraft114 <pycraft114@gmail.com>2018-05-09 17:15:59 +0900
commit2d088a4826301e8e0e33a6a2ad2b6cc60b76f202 (patch)
treea6383af35d5f5c1827ca8b180e6ecbd226d521b2
parent6fb702a7c59021fe0b37a821115234647866e20f (diff)
downloadsvg.js-2d088a4826301e8e0e33a6a2ad2b6cc60b76f202.tar.gz
svg.js-2d088a4826301e8e0e33a6a2ad2b6cc60b76f202.zip
Optional second parameter for 'select' method
-rw-r--r--svg.js.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts
index e5536cc..d624e88 100644
--- a/svg.js.d.ts
+++ b/svg.js.d.ts
@@ -752,7 +752,7 @@ declare namespace svgjs {
// selector.js
interface Library {
get(id: string): Element;
- select(query: string, parent: HTMLElement): Set;
+ select(query: string, parent?: HTMLElement): Set;
}
interface Parent {
select(query: string): Set;