Comparing version 0.1.1 to 0.1.2
@@ -1,2 +0,4 @@ | ||
import { RegisteredInstanceType } from "./registered-instance-type"; | ||
import { Constructor } from "./interfaces/constructor"; | ||
import { ConstructorParams } from "./interfaces/constructor-params"; | ||
import { RegisteredInstanceType } from "./interfaces/registered-instance-type"; | ||
declare const container: { | ||
@@ -11,4 +13,4 @@ registerType: (implementationType: RegisteredInstanceType) => { | ||
}; | ||
resolve: (instanceType: InstanceType<any>, ...args: any[]) => any; | ||
resolve: <TType extends Constructor & Partial<ConstructorParams> = any>(instanceType: TType, ...args: any[]) => TType; | ||
}; | ||
export { container }; |
{ | ||
"name": "cheap-di", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "JavaScript dependency injection like Autofac in .Net", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
11848
24
109