From 1263a034410db37f5f8cf4b45cc3910f512be0d6 Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 22 Nov 2021 15:13:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1=20=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/inject.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/core/inject.ts b/typescript/core/inject.ts index f91aa1590..e199b06f5 100644 --- a/typescript/core/inject.ts +++ b/typescript/core/inject.ts @@ -1,5 +1,5 @@ type _module = (xtype: string, cls: any) => void; -type _constant = (xtype: string, cls: any) => Function; +type _constant = (xtype: string, cls: T) => (() => T); type _model = (xtype: string, cls: any) => Function; type _store = (xtype: string, cls: any) => Function; type _service = (xtype: string, cls: any) => Function;