Comparing version 0.0.6 to 0.0.7
@@ -29,2 +29,5 @@ import { Injector } from './injector'; | ||
} | ||
if (this.parentInjector) { | ||
return this.parentInjector.get(token, notFoundValue); | ||
} | ||
throw reflectiveInjectorErrorFn(token); | ||
@@ -31,0 +34,0 @@ } |
{ | ||
"name": "@tanbo/di", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "A dependency injection Library", | ||
@@ -5,0 +5,0 @@ "main": "./bundles/public-api.js", |
19569
565