From f2f0eaf37cc95743426faaa6215d7f39a8c13acb Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Mon, 8 Mar 2021 17:39:23 +0000 Subject: [PATCH] docs(core): fix typos in interface docs (#41119) The terminology use in the comments did not match the actual types being referred to. PR Close #41119 --- packages/core/src/di/interface/defs.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core/src/di/interface/defs.ts b/packages/core/src/di/interface/defs.ts index 764cc2dc2c..9c4395aff2 100644 --- a/packages/core/src/di/interface/defs.ts +++ b/packages/core/src/di/interface/defs.ts @@ -19,7 +19,7 @@ import {ClassProvider, ConstructorProvider, ExistingProvider, FactoryProvider, S * requesting injection of other types if necessary. * * Optionally, a `providedIn` parameter specifies that the given type belongs to a particular - * `InjectorDef`, `NgModule`, or a special scope (e.g. `'root'`). A value of `null` indicates + * `Injector`, `NgModule`, or a special scope (e.g. `'root'`). A value of `null` indicates * that the injectable does not belong to any scope. * * @codeGenApi @@ -80,7 +80,7 @@ export interface ɵɵInjectorDef { /** * A `Type` which has an `InjectableDef` static field. * - * `InjectableDefType`s contain their own Dependency Injection metadata and are usable in an + * `InjectableType`s contain their own Dependency Injection metadata and are usable in an * `InjectorDef`-based `StaticInjector. * * @publicApi @@ -95,7 +95,7 @@ export interface InjectableType extends Type { /** * A type which has an `InjectorDef` static field. * - * `InjectorDefTypes` can be used to configure a `StaticInjector`. + * `InjectorTypes` can be used to configure a `StaticInjector`. * * This is an opaque type whose structure is highly version dependent. Do not rely on any * properties. @@ -108,7 +108,7 @@ export interface InjectorType extends Type { } /** - * Describes the `InjectorDef` equivalent of a `ModuleWithProviders`, an `InjectorDefType` with an + * Describes the `InjectorDef` equivalent of a `ModuleWithProviders`, an `InjectorType` with an * associated array of providers. * * Objects of this type can be listed in the imports section of an `InjectorDef`.