From 1d5151198c727ef6974f21bd40d9076172d5f9b2 Mon Sep 17 00:00:00 2001 From: Jiande Date: Fri, 18 Aug 2023 14:04:23 +0800 Subject: [PATCH] perf: add Container constructor declaration. if not, while user hover in Container will show DynamicExtends constructor params. --- svg.js.d.ts | 1 + 1 file changed, 1 insertion(+) 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 class Container extends ContainableElement { + constructor() flatten(parent: Dom, depth?: number): this ungroup(parent: Dom, depth?: number): this } -- 2.39.5