Browse Source

Pull request #1678: KERNEL-6464 可选参数

Merge in VISUAL/fineui from ~TELLER/fineui:bugfix to master

* commit '8c699d0b8ed5efffac80f483ed42a5d5fe560549':
  refactor: any
  refactor: 修改类型
  refactor: 可选参数
es6
Teller 4 years ago
parent
commit
f81caa2a81
  1. 2
      typescript/base/tree/ztree/asynctree.ts
  2. 2
      typescript/base/tree/ztree/treeview.ts

2
typescript/base/tree/ztree/asynctree.ts

@ -3,6 +3,8 @@ import { TreeView, TreeValue } from "./treeview";
export declare class AsyncTree extends TreeView { export declare class AsyncTree extends TreeView {
static xtype: string; static xtype: string;
nodes: any;
_beforeExpandNode<T>(treeId: string, treeNode: T): void; _beforeExpandNode<T>(treeId: string, treeNode: T): void;
_join(valueA: TreeValue, valueB: TreeValue): TreeValue; _join(valueA: TreeValue, valueB: TreeValue): TreeValue;

2
typescript/base/tree/ztree/treeview.ts

@ -62,7 +62,7 @@ export declare class TreeView extends Pane {
getValue(): TreeValue; getValue(): TreeValue;
// @ts-ignore // @ts-ignore
populate(config: {[key: string]: any}): void; populate(config?: {[key: string]: any}): void;
} }
export interface TreeValue { export interface TreeValue {

Loading…
Cancel
Save