diff --git a/package.json b/package.json index 13399e2..8a0fbc9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "domwires", - "version": "0.9.125", + "version": "0.9.126", "description": "Flexible and extensible MVC framework", "repository": { "type": "git", @@ -30,7 +30,7 @@ "dotenv": "16.0.3", "eslint": "8.26.0", "eslint-plugin-no-type-assertion": "1.3.0", - "mocha": "10.0.0", + "mocha": "10.2.0", "rimraf": "3.0.2", "ts-node": "10.9.1", "typescript": "4.7.4", diff --git a/src/com/domwires/core/factory/IFactory.ts b/src/com/domwires/core/factory/IFactory.ts index a90b532..8d44620 100644 --- a/src/com/domwires/core/factory/IFactory.ts +++ b/src/com/domwires/core/factory/IFactory.ts @@ -168,6 +168,8 @@ export interface IFactoryImmutable extends IDisposableImmutable { getInstance(type: Type, name?: string, ignorePool?: boolean): T; + instantiateValueUnmapped(type: Type): T; + hasTypeMapping(type: Type, name?: string): boolean; hasValueMapping(type: Type, name?: string): boolean; @@ -193,8 +195,6 @@ export interface IFactory extends IFactoryImmutable, IDisposable unmapFromValue(type: Type, name?: string): IFactory; - instantiateValueUnmapped(type: Type): T; - clear(): IFactory; registerPool(type: Type, capacity?: number, instantiateNow?: boolean,