title: How to filter RXJS BehaviorSubject
body: <p>I want to filter data with BehaviorSubject.
  When i try with:</p>
  <pre><code>   public accounts: BehaviorSubject&lt;any&gt; = new BehaviorSubject(this.list); 
      this.accounts.pipe(filter((poiData: any) =&gt; {
        console.log(poiData)
      }));
  </code></pre>
  <p>No work and bellow (poiData: any) is line error with text:</p>
  <blockquote>
  <p>No overload matches this call.   Overload 1 of 2, '(predicate: (value:
  any, index: number) =&gt; value is any, thisArg?: any):
  OperatorFunction&lt;any, any&gt;', gave the following error.
  Argument of type '(poiData: any) =&gt; void' is not assignable to parameter of type '(value: any, index: number) =&gt; value is any'.</p>
  </blockquote>
  <p>My question what is error ?
  How to filter BehaviorSubject ?</p>