Skip to content

Commit f2f0eaf

Browse files
petebacondarwinmhevery
authored andcommitted
docs(core): fix typos in interface docs (angular#41119)
The terminology use in the comments did not match the actual types being referred to. PR Close angular#41119
1 parent efe02d8 commit f2f0eaf

File tree

1 file changed

+4
-4
lines changed
  • packages/core/src/di/interface

1 file changed

+4
-4
lines changed

packages/core/src/di/interface/defs.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {ClassProvider, ConstructorProvider, ExistingProvider, FactoryProvider, S
1919
* requesting injection of other types if necessary.
2020
*
2121
* Optionally, a `providedIn` parameter specifies that the given type belongs to a particular
22-
* `InjectorDef`, `NgModule`, or a special scope (e.g. `'root'`). A value of `null` indicates
22+
* `Injector`, `NgModule`, or a special scope (e.g. `'root'`). A value of `null` indicates
2323
* that the injectable does not belong to any scope.
2424
*
2525
* @codeGenApi
@@ -80,7 +80,7 @@ export interface ɵɵInjectorDef<T> {
8080
/**
8181
* A `Type` which has an `InjectableDef` static field.
8282
*
83-
* `InjectableDefType`s contain their own Dependency Injection metadata and are usable in an
83+
* `InjectableType`s contain their own Dependency Injection metadata and are usable in an
8484
* `InjectorDef`-based `StaticInjector.
8585
*
8686
* @publicApi
@@ -95,7 +95,7 @@ export interface InjectableType<T> extends Type<T> {
9595
/**
9696
* A type which has an `InjectorDef` static field.
9797
*
98-
* `InjectorDefTypes` can be used to configure a `StaticInjector`.
98+
* `InjectorTypes` can be used to configure a `StaticInjector`.
9999
*
100100
* This is an opaque type whose structure is highly version dependent. Do not rely on any
101101
* properties.
@@ -108,7 +108,7 @@ export interface InjectorType<T> extends Type<T> {
108108
}
109109

110110
/**
111-
* Describes the `InjectorDef` equivalent of a `ModuleWithProviders`, an `InjectorDefType` with an
111+
* Describes the `InjectorDef` equivalent of a `ModuleWithProviders`, an `InjectorType` with an
112112
* associated array of providers.
113113
*
114114
* Objects of this type can be listed in the imports section of an `InjectorDef`.

0 commit comments

Comments
 (0)