From b94058bb4259a4cc4ed7199980687925e277c265 Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 22 Nov 2021 14:58:45 +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 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/typescript/core/inject.ts b/typescript/core/inject.ts index 5754277c0..f91aa1590 100644 --- a/typescript/core/inject.ts +++ b/typescript/core/inject.ts @@ -1,9 +1,9 @@ -type _module = (xtype: string, cls: any) => void | Function; -type _constant = (xtype: string, cls: any) => void | Function; -type _model = (xtype: string, cls: any) => void | Function; -type _store = (xtype: string, cls: any) => void | Function; -type _service = (xtype: string, cls: any) => void | Function; -type _provider = (xtype: string, cls: any) => void | Function; +type _module = (xtype: string, cls: any) => void; +type _constant = (xtype: string, cls: any) => Function; +type _model = (xtype: string, cls: any) => Function; +type _store = (xtype: string, cls: any) => Function; +type _service = (xtype: string, cls: any) => Function; +type _provider = (xtype: string, cls: any) => Function; interface _modules { getModule: (type: string) => any;