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;