title: Is there a type safe way to access store members in ngrx/store?
body: <p>I've been going through the documentation for ngrx/store using angular2</p>
  
  <p><a href="https://github.com/ngrx/store" rel="nofollow noreferrer">https://github.com/ngrx/store</a></p>
  
  <p><a href="https://github.com/ngrx/example-app" rel="nofollow noreferrer">https://github.com/ngrx/example-app</a></p>
  
  <p>The example app above implies i should access the observable members of the store using :</p>
  
  <pre><code>counter: Observable&lt;number&gt;;
  constructor(private store: Store&lt;AppState&gt;){
      this.counter = store.select('counter');
  }
  </code></pre>
  
  <p>Using a string of <code>'counter'</code> to access an object member feels antithetical to TypeScript. Is there a type safe way to access store members? </p>