From b4449e35bfd04c5858ded17c0ce56248d680e8d4 Mon Sep 17 00:00:00 2001 From: Ahn Date: Tue, 28 Jul 2020 10:11:05 +0200 Subject: [PATCH] docs(core): correct SomeService to SomeComponent (#38264) PR Close #38264 --- packages/core/src/metadata/di.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/metadata/di.ts b/packages/core/src/metadata/di.ts index 3b14ec3163..792ee45a34 100644 --- a/packages/core/src/metadata/di.ts +++ b/packages/core/src/metadata/di.ts @@ -332,7 +332,7 @@ export interface ViewChildDecorator { * * A template reference variable as a string (e.g. query `` * with `@ViewChild('cmp')`) * * Any provider defined in the child component tree of the current component (e.g. - * `@ViewChild(SomeService) someService: SomeService`) + * `@ViewChild(SomeComponent) someComponent: SomeComponent`) * * Any provider defined through a string token (e.g. `@ViewChild('someToken') someTokenVal: * any`) * * A `TemplateRef` (e.g. query `` with `@ViewChild(TemplateRef)