diff options
author | pycraft114 <pycraft114@gmail.com> | 2018-05-09 17:15:59 +0900 |
---|---|---|
committer | pycraft114 <pycraft114@gmail.com> | 2018-05-09 17:15:59 +0900 |
commit | 2d088a4826301e8e0e33a6a2ad2b6cc60b76f202 (patch) | |
tree | a6383af35d5f5c1827ca8b180e6ecbd226d521b2 | |
parent | 6fb702a7c59021fe0b37a821115234647866e20f (diff) | |
download | svg.js-2d088a4826301e8e0e33a6a2ad2b6cc60b76f202.tar.gz svg.js-2d088a4826301e8e0e33a6a2ad2b6cc60b76f202.zip |
Optional second parameter for 'select' method
-rw-r--r-- | svg.js.d.ts | 2 |
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;
|