Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleygrimes committed Feb 5, 2020
1 parent 04930af commit 696563d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projects/ngrx.io/content/guide/store/selectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,10 @@ It is important to continue to provide a Store type generic if you are using the
</div>

The follow example demonstrates the use of Store without providing a generic:

<code-example header="app.component.ts">
export class AppComponent {
counter = store.pipe(select(fromCounter.selectCounter));
counter$ = this.store.pipe(select(fromCounter.selectCounter));

constructor(private store: Store) {}
}
Expand Down

0 comments on commit 696563d

Please sign in to comment.