4 ms·
meh. While some constructs are great (class , modules , ...) some others dont make sense at all, unless you are using Visual Studio. Is typescript a javascript
by camus 14y ago
meh. While some constructs are great (class , modules , ...)
some others dont make sense at all, unless you are using Visual Studio. Is typescript a javascript for Visual Studio or a language you can really use without MS tools ? Also the fact that you cant compile to 1 file automatically all your scripts and you need either AMD or Common JS defeats the purpose of having modules for client side scripting.
- vladev 14y agoIntelliJ already provides decent support for it, including auto-completion. I assume with the new pull-based type checker similar things can be done for vim, emacs, etc.
- lucian1900 14y agoIt's possible to instruct tsc to compile into called-closure style modules, then concatenate them if you really want that.
- seandhi 14y agoThat is exactly what we are doing with an in-house TypeScript framework that we have written. The compiler checks the dependencies recursively and then concatenates them in a single file. It is careful not to duplicate dependencies, too.