From bd87ff0cd7ee8ba4289219d9257ad8e243d3907a Mon Sep 17 00:00:00 2001 From: alan Date: Tue, 30 Jul 2019 11:51:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B3=9B=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/core/base.ts b/typescript/core/base.ts index 8fb31e24ea..55099eed8b 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: T[], innerAttr?: U[], outerAttr?: K[]) => (U & T & K)[]; packageItems: (items: any[], layouts: any[]) => any[];