Browse Source

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

* commit 'b4b6e9c2eea216f37f2c8de5292ec3d36df2eb42':
  fix: 无jira任务,修改createItems参数类型
es6
Teller 5 years ago
parent
commit
548a05ba32
  1. 2
      typescript/core/base.ts

2
typescript/core/base.ts

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

Loading…
Cancel
Save