Created
March 23, 2016 16:24
-
-
Save vladima/5c2825083bab6ac3f88d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Observable} from "rxjs/rx"; | |
Observable | |
.of(1) | |
.catch(e => Observable.of("error")) | |
.map(x => x.toFixed()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment