diff --git a/typescript/core/base.ts b/typescript/core/base.ts index e8ecfc3f08..330030f513 100644 --- a/typescript/core/base.ts +++ b/typescript/core/base.ts @@ -11,7 +11,7 @@ export interface _base { createWidgets: (items: any, options: any, context: any) => any; - createItems: (data: T[], innerAttr?: U[], outerAttr?: K[]) => (U & T & K)[]; + createItems: (data: T[], innerAttr?: [], outerAttr?: []) => (U & T & K)[]; packageItems: (items: any[], layouts: any[]) => any[];