Browse Source

fix: 无jira任务,修改createItems参数类型

es6
alan 5 years ago
parent
commit
b4b6e9c2ee
  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