Ngrx 6.1.0 - Select is deprecated - What is the new syntax? : <p>The following ngrx select is deprecated.</p>

<pre><code>this.store.select(state =&gt; state.academy.academy).subscribe((academy) =&gt; {
    this.academy = academy;
});
</code></pre>

<p>I found this at store.d.ts</p>

<pre><code>@deprecated from 6.1.0. Use the pipeable `select` operator instead.
</code></pre>

<p>So... what's the correct syntax?</p>

<p>I try </p>

<pre><code>this.store.pipe(select(state =&gt; state.academy.academy).subscribe((academy) =&gt; {
    this.academy = academy;
}))
</code></pre>

<p>Error:  Cannot find name 'select'. Did you mean 'onselect'?</p>
