Re:Working on TypeScript 0.9: Generics, Overload on Constant...
by camus on Wednesday March 27, 2013 @06:11AM
(#5448580)
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.
[ Parent
| on HN ]
Re:Working on TypeScript 0.9: Generics, Overload on Constant...
by vladev on Wednesday March 27, 2013 @06:17AM
(#5448592)
IntelliJ 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.
Re:Working on TypeScript 0.9: Generics, Overload on Constant...
by lucian1900 on Wednesday March 27, 2013 @06:56AM
(#5448670)
It's possible to instruct tsc to compile into called-closure style modules, then concatenate them if you really want that.
Re:Working on TypeScript 0.9: Generics, Overload on Constant...
by seandhi on Wednesday March 27, 2013 @10:22AM
(#5449529)
That 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.