@dits/dits
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -24,4 +24,4 @@ "use strict"; | ||
let thing = this.singletons.get(key); | ||
if (!thing) { | ||
thing = this.parent?.get(key); | ||
if (!thing && this.parent) { | ||
thing = this.parent.get(key); | ||
} | ||
@@ -28,0 +28,0 @@ return thing; |
@@ -6,3 +6,3 @@ import ZoneHook from './zones/zones'; | ||
export { Service, Container, ZoneHook, SmartProxy }; | ||
export { Component, ComponentRegistry } from './di/components'; | ||
export { Component, ComponentRegistry, Constructor } from './di/components'; | ||
export { DispatchEvent, DispatchPredicate, HandlerDeclaration } from './dispatch/dispatch'; | ||
@@ -9,0 +9,0 @@ export { Handler, HandlerRegistry } from './dispatch/handlers'; |
{ | ||
"name": "@dits/dits", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "types": "lib/index.d.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
108393