aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiande <we1215107007@163.com>2023-08-18 14:04:23 +0800
committerJiande <we1215107007@163.com>2023-08-18 14:04:23 +0800
commit1d5151198c727ef6974f21bd40d9076172d5f9b2 (patch)
tree2b5006f38acf29ef21227e51f13f078d67b79901
parentb4163a8232502e4cbfb8357496ad67ec01cc15fb (diff)
downloadsvg.js-1d5151198c727ef6974f21bd40d9076172d5f9b2.tar.gz
svg.js-1d5151198c727ef6974f21bd40d9076172d5f9b2.zip
perf: add Container constructor declaration.
if not, while user hover in Container will show DynamicExtends constructor params.
-rw-r--r--svg.js.d.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/svg.js.d.ts b/svg.js.d.ts
index 38b9ed2..ae32919 100644
--- a/svg.js.d.ts
+++ b/svg.js.d.ts
@@ -1266,6 +1266,7 @@ declare module '@svgdotjs/svg.js' {
*/
let ContainableElement: DynamicExtends<Element>
class Container extends ContainableElement {
+ constructor()
flatten(parent: Dom, depth?: number): this
ungroup(parent: Dom, depth?: number): this
}