Comparing version 2.1.2 to 2.1.4
export declare type IInstanceInitializer<IContainer, N extends keyof IContainer> = (instance: IContainer[N], container: IContainer, name?: N) => void; | ||
export declare type VoidFn = () => void; | ||
export declare type IFactory<IContainer, N extends keyof IContainer> = (container: IContainer) => IContainer[N]; | ||
export declare type IFactoryTuple<IContainer, N extends keyof IContainer> = [ | ||
IFactory<IContainer, N>, | ||
IInstanceInitializer<IContainer, N> | ||
]; | ||
export declare type IFactoryTuple<IContainer, N extends keyof IContainer> = [IFactory<IContainer, N>, IInstanceInitializer<IContainer, N>]; | ||
export declare type IFactories<IContainer extends object> = { | ||
@@ -9,0 +6,0 @@ [name in keyof IContainer]: IFactory<IContainer, name> | IFactoryTuple<IContainer, name>; |
@@ -10,3 +10,3 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
export declare type IInstanceInitializer<IContainer, N extends keyof IContainer> = (instance: IContainer[N], container: IContainer, name?: N) => void; | ||
export declare type VoidFn = () => void; | ||
export declare type IFactory<IContainer, N extends keyof IContainer> = (container: IContainer) => IContainer[N]; | ||
export declare type IFactoryTuple<IContainer, N extends keyof IContainer> = [ | ||
IFactory<IContainer, N>, | ||
IInstanceInitializer<IContainer, N> | ||
]; | ||
export declare type IFactoryTuple<IContainer, N extends keyof IContainer> = [IFactory<IContainer, N>, IInstanceInitializer<IContainer, N>]; | ||
export declare type IFactories<IContainer extends object> = { | ||
@@ -9,0 +6,0 @@ [name in keyof IContainer]: IFactory<IContainer, name> | IFactoryTuple<IContainer, name>; |
@@ -10,3 +10,3 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
{ | ||
"name": "true-di", | ||
"version": "2.1.2", | ||
"version": "2.1.4", | ||
"description": "Framework Agnostic, Zero Dependency, Isomorphic & Minimalistic Dependency Injection Container for TypeScript and JavaScript projects", | ||
"main": "./lib/index.js", | ||
"module": "./esm/index.js", | ||
"types": "./lib/index.d.ts", | ||
"sideEffects": false, | ||
@@ -8,0 +9,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
58738
1199