Browse Source

Merge pull request #1045 in VISUAL/fineui from ~ALAN/fineui:master to master

* commit 'bd87ff0cd7ee8ba4289219d9257ad8e243d3907a':
  fix: 泛型
  fix: KERNEL-800 设置为可选参数
es6
alan 5 years ago
parent
commit
a0cc5ce9f3
  1. 2
      typescript/core/base.ts

2
typescript/core/base.ts

@ -9,7 +9,7 @@ export interface _base {
createWidgets: (items: any, options: any, context: any) => any;
createItems: (data: any[], innerAttr: any[], outerAttr: any[]) => any;
createItems: <T, U, K>(data: T[], innerAttr?: U[], outerAttr?: K[]) => (U & T & K)[];
packageItems: (items: any[], layouts: any[]) => any[];

Loading…
Cancel
Save