import { Observable, Scheduler } from 'rxjs/Rx';
var ObservableHack = (function () {
    function ObservableHack() {
    }
    /**
     * @See https://github.com/angular/angular/issues/5992
     * @param value
     * @returns {Observable<string>}
     */
    ObservableHack.of = function (value) {
        return Observable.create(function (subscriber) {
            subscriber.next(value);
        }).subscribeOn(Scheduler.asap);
    };
    return ObservableHack;
}());
export { ObservableHack };
//# sourceMappingURL=ObservableHack.js.map