UNPKG

@reactivex/rxjs

Version:

Reactive Extensions for modern JavaScript

6 lines (4 loc) 218 B
import { Observable } from 'rxjs'; // HACK: this is here for backward compatability // TODO(benlesh): remove this in v6. export const toPromise: typeof Observable.prototype.toPromise = Observable.prototype.toPromise;