From 2d088a4826301e8e0e33a6a2ad2b6cc60b76f202 Mon Sep 17 00:00:00 2001 From: pycraft114 Date: Wed, 9 May 2018 17:15:59 +0900 Subject: [PATCH] Optional second parameter for 'select' method --- svg.js.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5