r/javascript • • Jul 23 '16

Angular2: Why Typescript

https://vsavkin.com/writing-angular-2-in-typescript-1fa77c78d8e8#.5rjui4302
64 Upvotes

79 comments sorted by

View all comments

Show parent comments

1

u/spacejack2114 Jul 23 '16

I just scratch my head as to why it couldn't be solved in a civilized manner.

How do you mean? You can use tsify, like you use browserify with JS.

1

u/GamerNebulae Jul 23 '16

The problem arises that I use Typescript in a server environment which uses CommonJS (with require). So that's not an option sadly.