Skip to content

Commit

Permalink
chore(docs): Fix selection of state using string selector (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdjuan authored and brandonroberts committed Aug 11, 2017
1 parent 683013c commit ca544dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/store/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export class MyAppComponent {
counter: Observable<number>;

constructor(private store: Store<AppState>) {
this.counter = store.select<number>('counter');
this.counter = store.select('counter');
}

increment(){
Expand Down

0 comments on commit ca544dd

Please sign in to comment.