Comparing version 0.1.5 to 0.1.6
@@ -1,15 +0,3 @@ | ||
import { Constructor } from "./interfaces/constructor"; | ||
import { ConstructorParams } from "./interfaces/constructor-params"; | ||
import { RegisteredType } from "./interfaces/registered-type"; | ||
declare const container: { | ||
registerType: (implementationType: InstanceType<RegisteredType>) => { | ||
as: (type: any) => { | ||
with: (...injectionParams: any[]) => void; | ||
}; | ||
}; | ||
registerInstance: (instance: any) => { | ||
as: (type: any) => void; | ||
}; | ||
resolve: <TType extends Constructor & Partial<ConstructorParams> = any>(type: TType, ...args: any[]) => InstanceType<TType>; | ||
}; | ||
import { IContainer } from "./interfaces/IContainer"; | ||
declare const container: IContainer; | ||
export { container }; |
{ | ||
"name": "cheap-di", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "JavaScript dependency injection like Autofac in .Net", | ||
@@ -24,5 +24,2 @@ "scripts": { | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/TomasLight/cheap-di/issues" | ||
}, | ||
"homepage": "https://github.com/TomasLight/cheap-di#readme", | ||
@@ -29,0 +26,0 @@ "keywords": [ |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
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
12787
36
124
1