diff --git a/packages/core/src/metadata/di.ts b/packages/core/src/metadata/di.ts index 83eae8ab3b..0e42601ffe 100644 --- a/packages/core/src/metadata/di.ts +++ b/packages/core/src/metadata/di.ts @@ -327,7 +327,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(SomeComponent) someComponent: SomeComponent`) + * `@ViewChild(SomeService) someService: SomeService`) * * Any provider defined through a string token (e.g. `@ViewChild('someToken') someTokenVal: * any`) * * A `TemplateRef` (e.g. query `` with `@ViewChild(TemplateRef)