From 45865d36c3fd2c21bb7eb32626464e5f3c55fc02 Mon Sep 17 00:00:00 2001 From: alan Date: Mon, 30 Dec 2019 10:50:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9createItems=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E7=B1=BB=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 330030f513..114a26d8da 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?: [], outerAttr?: []) => (U & T & K)[]; + createItems: (data: T[], innerAttr?: U, outerAttr?: K) => (U & T & K)[]; packageItems: (items: any[], layouts: any[]) => any[];