My dev adventures

7th February 2017

BabelJs

At work I use typescript a lot because of Angular 2. So whenever I switch to “normal” javascript, I’m really missing things like arrow functions. Maybe it seems like not a lot, but when I’m writing all these rxjs Observables and their “function(resp) function(err) function()”, (resp) => (err) => () => is just much shorter right?

So instead of totally changing my codebase to typescript for this other project, I just babelJs my current code!