Comparing version 0.7.1 to 0.7.2
@@ -131,3 +131,3 @@ "use strict"; | ||
if (service.type && identifier instanceof Function) | ||
return service.type === identifier || identifier.prototype instanceof service.type; | ||
return service.type === identifier; // todo: not sure why it was here || identifier.prototype instanceof service.type; | ||
return false; | ||
@@ -134,0 +134,0 @@ }); |
{ | ||
"name": "typedi", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "Dependency injection for TypeScript", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -146,3 +146,2 @@ # TypeDI | ||
When you write tests you can easily provide your own "fake" dependencies to classes you are testing using `set` method: | ||
`provide` methods of the container: | ||
@@ -149,0 +148,0 @@ ```javascript |
Sorry, the diff of this file is not supported yet
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
104152
738