docs(ViewQuery): fix typo in documentation

fix typo that confusingly refers to `@Query` rather than `@ViewQuery`.

Closes #7870
This commit is contained in:
Tim Ruffles 2016-04-01 19:52:46 +01:00 committed by Tim Ruffles
parent 27cf897239
commit 5110121f6e
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ export class ContentChildMetadata extends QueryMetadata {
* class MyComponent {
* shown: boolean;
*
* constructor(private @Query(Item) items:QueryList<Item>) {
* constructor(private @ViewQuery(Item) items:QueryList<Item>) {
* items.changes.subscribe(() => console.log(items.length));
* }
* }