Skip to content

Instantly share code, notes, and snippets.

@vladima
Created March 23, 2016 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vladima/5c2825083bab6ac3f88d to your computer and use it in GitHub Desktop.
Save vladima/5c2825083bab6ac3f88d to your computer and use it in GitHub Desktop.
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