Skip to content

Commit ca544dd

Browse files
jdjuanbrandonroberts
authored andcommitted
chore(docs): Fix selection of state using string selector (#261)
1 parent 683013c commit ca544dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/store/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export class MyAppComponent {
9696
counter: Observable<number>;
9797

9898
constructor(private store: Store<AppState>) {
99-
this.counter = store.select<number>('counter');
99+
this.counter = store.select('counter');
100100
}
101101

102102
increment(){

0 commit comments

Comments
 (0)