From: Jiande Date: Fri, 18 Aug 2023 06:04:23 +0000 (+0800) Subject: perf: add Container constructor declaration. X-Git-Tag: 3.2.1~22^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1d5151198c727ef6974f21bd40d9076172d5f9b2;p=svg.js.git perf: add Container constructor declaration. if not, while user hover in Container will show DynamicExtends constructor params. --- 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 }