nano-injector 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/typings/Binder.d.ts +1 -1
package/package.json
CHANGED
package/typings/Binder.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export declare class Binder<T> {
|
|
|
32
32
|
* will be ignored
|
|
33
33
|
* @param factory
|
|
34
34
|
*/
|
|
35
|
-
toFactory(factory: (injector
|
|
35
|
+
toFactory(factory: (injector: Injector) => T): Binder<T>;
|
|
36
36
|
/**
|
|
37
37
|
* Defines whether value should be a singleton. If yes the value will be created only once
|
|
38
38
|
* and the same instance will be returned forever
|