Browse Source

Pull request #1775: 无jira任务 缺省参数

Merge in VISUAL/fineui from ~IMP/fineui_fui:master to master

* commit 'e92b06c16104e1b970238ec067e21c4edfd310f9':
  无jira任务 缺省参数
es6
imp 4 years ago
parent
commit
100d45fcd4
  1. 4
      typescript/core/utils/tree.ts

4
typescript/core/utils/tree.ts

@ -32,7 +32,7 @@ export declare class Tree {
clear():void;
initTree(nodes: any[]):void;
toJSON<T>(node?: Node): T[];
toJSONWithNode<T>(node: Node): T[];
toJSONWithNode<T>(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<T>(sNodes: T[]): Node[];
static treeFormat(sNodes: Node | Node[]): Node[];
static traversal(array: Node[], callback: Function, pNode: Node): void;
}
}

Loading…
Cancel
Save