From e438c9fcb511e82d272afcee20489685e3875052 Mon Sep 17 00:00:00 2001 From: imp Date: Sat, 20 Feb 2021 15:17:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1=20=E7=BC=BA?= =?UTF-8?q?=E7=9C=81=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/utils/tree.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typescript/core/utils/tree.ts b/typescript/core/utils/tree.ts index 3ae195351..99167c62d 100644 --- a/typescript/core/utils/tree.ts +++ b/typescript/core/utils/tree.ts @@ -32,7 +32,7 @@ export declare class Tree { clear():void; initTree(nodes: any[]):void; toJSON(node?: Node): T[]; - toJSONWithNode(node: Node): T[]; + toJSONWithNode(node?: Node): T[]; search(root: Node, target?: any, param?: any): Node; traverse(callback: Function): void; recursion(callback: Function): void; @@ -47,4 +47,4 @@ export declare class Tree { static transformToTreeFormat(sNodes: T[]): Node[]; static treeFormat(sNodes: Node | Node[]): Node[]; static traversal(array: Node[], callback: Function, pNode: Node): void; -} \ No newline at end of file +}