Comparing version 0.0.18 to 0.0.19
@@ -45,3 +45,6 @@ import { InjectFlags, Injector } from './injector'; | ||
} | ||
throw reflectiveInjectorErrorFn(token); | ||
if (notFoundValue === THROW_IF_NOT_FOUND) { | ||
throw reflectiveInjectorErrorFn(token); | ||
} | ||
return notFoundValue; | ||
} | ||
@@ -48,0 +51,0 @@ resolveDeps(deps, notFoundValue) { |
{ | ||
"name": "@tanbo/di", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"description": "A dependency injection Library", | ||
@@ -5,0 +5,0 @@ "main": "./bundles/public-api.js", |
21448
604