docs(core): correct SomeService to SomeComponent (#38264)
PR Close #38264
This commit is contained in:
parent
3d0be5213e
commit
b4449e35bf
|
@ -332,7 +332,7 @@ export interface ViewChildDecorator {
|
||||||
* * A template reference variable as a string (e.g. query `<my-component #cmp></my-component>`
|
* * A template reference variable as a string (e.g. query `<my-component #cmp></my-component>`
|
||||||
* with `@ViewChild('cmp')`)
|
* with `@ViewChild('cmp')`)
|
||||||
* * Any provider defined in the child component tree of the current component (e.g.
|
* * 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 provider defined through a string token (e.g. `@ViewChild('someToken') someTokenVal:
|
||||||
* any`)
|
* any`)
|
||||||
* * A `TemplateRef` (e.g. query `<ng-template></ng-template>` with `@ViewChild(TemplateRef)
|
* * A `TemplateRef` (e.g. query `<ng-template></ng-template>` with `@ViewChild(TemplateRef)
|
||||||
|
|
Loading…
Reference in New Issue