diff --git a/typescript/core/base.ts b/typescript/core/base.ts index 81ed09060..8fb31e24e 100644 --- a/typescript/core/base.ts +++ b/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: (data: any[], innerAttr?: any[], outerAttr?: any[]) => any; packageItems: (items: any[], layouts: any[]) => any[];