From efb0d899abc7a9f5196c6f81a62b04eec02ce395 Mon Sep 17 00:00:00 2001 From: Juan Herrera Date: Thu, 10 Aug 2017 16:19:44 -0500 Subject: [PATCH] docs: remove generic type from state selection The generic type is not necessary and causes error in compilation because it expects the state key instead of the state key type. --- docs/store/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/store/README.md b/docs/store/README.md index 7bdc8f0217..3f90a4d38e 100644 --- a/docs/store/README.md +++ b/docs/store/README.md @@ -96,7 +96,7 @@ export class MyAppComponent { counter: Observable; constructor(private store: Store) { - this.counter = store.select((state: AppState) => state.counter); + this.counter = store.select('counter'); } increment(){