Fix missed return in container.makeNew
This commit is contained in:
parent
78cb26fcb2
commit
b42e91533a
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@extollo/lib",
|
"name": "@extollo/lib",
|
||||||
"version": "0.9.16",
|
"version": "0.9.17",
|
||||||
"description": "The framework library that lifts up your code.",
|
"description": "The framework library that lifts up your code.",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
|
@ -572,6 +572,7 @@ export class Container {
|
|||||||
if ( isAwareOfContainerLifecycle(result) ) {
|
if ( isAwareOfContainerLifecycle(result) ) {
|
||||||
result.onContainerRealize?.()
|
result.onContainerRealize?.()
|
||||||
}
|
}
|
||||||
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new TypeError(`Invalid or unknown make target: ${key}`)
|
throw new TypeError(`Invalid or unknown make target: ${key}`)
|
||||||
|
Loading…
Reference in New Issue
Block a user