title: @ngrx/store select - How to convert Observable<Array<StaffInterface>> to Array<StaffInterface>
body: <p>tying to get <code>Array&lt;StaffInterface&gt;</code> from a <code>Observable&lt;Array&lt;StaffInterface&gt;&gt;</code> in ngrx store.select which returns the <code>Observable&lt;Array&lt;StaffInterface&gt;&gt;</code> so that i can pass the <code>Array&lt;StaffInterface&gt;</code> to primeng datatable.</p>
  
  <pre><code>staffList: Array&lt;StaffInterface&gt;; 
  this.staffList = store.select(staffList);
  </code></pre>
  
  <p>In the above assignment store.select returns <code>Observable&lt;Array&lt;StaffInterface&gt;&gt;</code>. I need to convert it to <code>Array&lt;StaffInterface&gt;</code></p>