From b5fa4b58cab018fe538539a97fc58e343bf5a704 Mon Sep 17 00:00:00 2001 From: Stephen Fluin Date: Thu, 6 Feb 2020 10:25:00 -0800 Subject: [PATCH] docs: improve description of providedIn any (#35192) PR Close #35192 --- packages/core/src/di/injectable.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/src/di/injectable.ts b/packages/core/src/di/injectable.ts index cda90f63a4..e6a3c10050 100644 --- a/packages/core/src/di/injectable.ts +++ b/packages/core/src/di/injectable.ts @@ -70,7 +70,8 @@ export interface Injectable { * - 'root' : The application-level injector in most apps. * - 'platform' : A special singleton platform injector shared by all * applications on the page. - * - 'any' : The NgModule injector that receives the resolution. + * - 'any' : Provides a unique instance in every module (including lazy modules) that injects the + * token. * */ providedIn?: Type|'root'|'platform'|'any'|null;