parent
d49d1e7d73
commit
a24120011e
@ -15,7 +15,7 @@ import {defineInjectable} from './interface/defs';
|
|||||||
*
|
*
|
||||||
* Use an `InjectionToken` whenever the type you are injecting is not reified (does not have a
|
* Use an `InjectionToken` whenever the type you are injecting is not reified (does not have a
|
||||||
* runtime representation) such as when injecting an interface, callable type, array or
|
* runtime representation) such as when injecting an interface, callable type, array or
|
||||||
* parametrized type.
|
* parameterized type.
|
||||||
*
|
*
|
||||||
* `InjectionToken` is parameterized on `T` which is the type of object which will be returned by
|
* `InjectionToken` is parameterized on `T` which is the type of object which will be returned by
|
||||||
* the `Injector`. This provides additional level of type safety.
|
* the `Injector`. This provides additional level of type safety.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user