Angular2 Observables -- Replay
<p>I am trying to set up an Angular2 Observable that will replay the latest value.</p>

<pre><code>import {Injectable} from 'angular2/core';
import {Observable} from 'rxjs/Observable';

@Injectable()
export class RefinementService {
    refining: any;
    private r: any;
    constructor() {
        this.refining = new Observable(observer =&gt; this.r = observer).replay(1);
    }
}
</code></pre>

<p><br/>
I continually get errors stating:</p>

<blockquote>
  <p>Property 'replay' does not exist on type Observable&lt;{}>.</p>
</blockquote>

<p>and</p>

<blockquote>
  <p>this.refining.replay is not a function</p>
</blockquote>

<p><br/>
Has anyone successfully implemented an observable that will re-emit it's latest value to new subscribers?</p>