docs: improve description of providedIn any (#35192)

PR Close #35192
This commit is contained in:
Stephen Fluin 2020-02-06 10:25:00 -08:00 committed by Misko Hevery
parent 0cbdd54fd0
commit b5fa4b58ca
1 changed files with 2 additions and 1 deletions

View File

@ -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<any>|'root'|'platform'|'any'|null;