Browse Source

fix: 修改createItems参数类型

es6
alan 5 years ago
parent
commit
45865d36c3
  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;
createItems: <T, U, K>(data: T[], innerAttr?: [], outerAttr?: []) => (U & T & K)[];
createItems: <T, U, K>(data: T[], innerAttr?: U, outerAttr?: K) => (U & T & K)[];
packageItems: (items: any[], layouts: any[]) => any[];

Loading…
Cancel
Save