Comparing version 0.1.2 to 0.1.3
@@ -13,4 +13,4 @@ import { Constructor } from "./interfaces/constructor"; | ||
}; | ||
resolve: <TType extends Constructor & Partial<ConstructorParams> = any>(instanceType: TType, ...args: any[]) => TType; | ||
resolve: <TType extends Constructor & Partial<ConstructorParams> = any>(instanceType: TType, ...args: any[]) => InstanceType<TType>; | ||
}; | ||
export { container }; |
{ | ||
"name": "cheap-di", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "JavaScript dependency injection like Autofac in .Net", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
11862