@chalupajs/interface
Advanced tools
Comparing version 1.2.2 to 1.3.0
import { Constructor } from '../types'; | ||
import { IContainer } from './IContainer'; | ||
export declare type IInjectContainer = IContainer & { | ||
bindModule<T>(moduleConstructor: Constructor<T>): IInjectContainer; | ||
bindModule<T>(moduleConstructor: Constructor<T>): Promise<IInjectContainer>; | ||
}; |
@@ -12,3 +12,3 @@ import { Constructor } from '../types'; | ||
*/ | ||
inject?: Constructor[] | ((context: IInjectContainer, config?: any) => void); | ||
inject?: Constructor[] | ((context: IInjectContainer, config?: any) => Promise<void>); | ||
constants?: Array<[string, any]>; | ||
@@ -15,0 +15,0 @@ modules?: Constructor[]; |
@@ -16,3 +16,3 @@ import { Constructor } from '../types'; | ||
*/ | ||
inject: Constructor[] | ((context: IInjectContainer, config?: any) => void); | ||
inject: Constructor[] | ((context: IInjectContainer, config?: any) => Promise<void>); | ||
constants?: Array<[string, any]>; | ||
@@ -19,0 +19,0 @@ modules?: Constructor[]; |
{ | ||
"name": "@chalupajs/interface", | ||
"version": "1.2.2", | ||
"version": "1.3.0", | ||
"description": "Service framework", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
246503