Comparing version 0.0.5 to 0.0.6
@@ -23,3 +23,3 @@ import { Injector } from './injector'; | ||
const ff = factory(this); | ||
const params = this.resolveDeps(deps, notFoundValue); | ||
const params = this.resolveDeps(deps || [], notFoundValue); | ||
const reflectiveValue = ff(...params); | ||
@@ -26,0 +26,0 @@ this.reflectiveValues.set(token, reflectiveValue); |
{ | ||
"name": "@tanbo/di", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "A dependency injection Library", | ||
@@ -5,0 +5,0 @@ "main": "./bundles/public-api.js", |
19458