diff --git a/typescript/base/combination/combo.ts b/typescript/base/combination/combo.ts index bec2a7b75..249e7e6f2 100644 --- a/typescript/base/combination/combo.ts +++ b/typescript/base/combination/combo.ts @@ -34,6 +34,7 @@ export declare class Combo extends Widget { adjustYOffset?: number; hideChecker?: Function; offsetStyle?: 'left' | 'right' | 'center'; + value?:any; el?: any; popup?: any; comboClass?: string; diff --git a/typescript/core/utils/tree.ts b/typescript/core/utils/tree.ts index c300ad100..643d99cd0 100644 --- a/typescript/core/utils/tree.ts +++ b/typescript/core/utils/tree.ts @@ -43,8 +43,8 @@ export declare class Tree { postOrderTraverse(callback: Function): void; nrPostOrderTraverse(callback: Function): void; static transformToArrayFormat(nodes: T | T[], pId: any, childKey?: string): T[]; - static arrayFormat(nodes: Node | Node[], pId: any): Node[]; - static transformToTreeFormat(sNodes: T[]): Node[]; - static treeFormat(sNodes: Node | Node[]): Node[]; - static traversal(array: Node[], callback: Function, pNode: Node): void; + static arrayFormat(nodes: T | T[], pId: any): T[]; + static transformToTreeFormat(sNodes: T[]): T[]; + static treeFormat(sNodes: T | T[]): T[]; + static traversal(array: T[], callback: (index:number,node:T,pNode?:T)=> boolean | void, pNode?: T): void; }