| 80 | * @publicApi |
| 81 | */ |
| 82 | export interface Injectable { |
| 83 | /** |
| 84 | * Determines which injectors will provide the injectable. |
| 85 | * |
| 86 | * - `Type<any>` - associates the injectable with an `@NgModule` or other `InjectorType`. This |
| 87 | * option is DEPRECATED. |
| 88 | * - 'null' : Equivalent to `undefined`. The injectable is not provided in any scope automatically |
| 89 | * and must be added to a `providers` array. |
| 90 | * |
| 91 | * The following options specify that this injectable should be provided in one of the following |
| 92 | * injectors: |
| 93 | * - 'root' : The application-level injector in most apps. |
| 94 | * - 'platform' : A special singleton platform injector shared by all |
| 95 | * applications on the page. |
| 96 | * - 'any' : Provides a unique instance in each lazy loaded module while all eagerly loaded |
| 97 | * modules share one instance. This option is DEPRECATED. |
| 98 | * |
| 99 | */ |
| 100 | providedIn?: Type<any> | 'root' | 'platform' | 'any' | null; |
| 101 | } |
| 102 | |
| 103 | /** |
| 104 | * Injectable decorator and metadata. |
no outgoing calls
no test coverage detected
searching dependent graphs…