injection-js
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "injection-js", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Dependency Injection library for JavaScript and TypeScript", | ||
@@ -5,0 +5,0 @@ "main": "injection.bundle.js", |
@@ -26,6 +26,6 @@ # Dependency Injection | ||
const injector = ReflectiveInjector.resolveAndCreate({ | ||
const injector = ReflectiveInjector.resolveAndCreate([ | ||
Service, | ||
Http | ||
}); | ||
]); | ||
@@ -32,0 +32,0 @@ console.log(injector.get(Service) instanceof Service); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package