@drewjbartlett/tiny-ioc
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -8,3 +8,3 @@ { | ||
"type": "module", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"files": [ | ||
@@ -11,0 +11,0 @@ "dist" |
@@ -36,3 +36,2 @@ # Tiny IOC | ||
container.bind(MyClass, () => new MyClass(), Scope.Singleton); | ||
container.bindFactory(DataSource, () => new DataSource(container.get(HttpClient))); | ||
@@ -39,0 +38,0 @@ container.bindSingleton(HttpClient, () => new HttpClient()); |
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
7701
2
0
264
1