diff --git a/package.json b/package.json index 666c7da..0f13816 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@extollo/lib", - "version": "0.9.16", + "version": "0.9.17", "description": "The framework library that lifts up your code.", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/src/di/Container.ts b/src/di/Container.ts index dcc450f..3b2d55b 100644 --- a/src/di/Container.ts +++ b/src/di/Container.ts @@ -572,6 +572,7 @@ export class Container { if ( isAwareOfContainerLifecycle(result) ) { result.onContainerRealize?.() } + return result } throw new TypeError(`Invalid or unknown make target: ${key}`)