5 ms·
The breakage argument is valid for Coffeescript, but Typescript has always made it clear that it supports ES6. Am I missing something?
by findjashua 12y ago
The breakage argument is valid for Coffeescript, but Typescript has always made it clear that it supports ES6. Am I missing something?
- joshstrange 12y agoI apologise, I have read very little on TS due to me lumping it in with CS. If this is not the case then I would like to retract my statements on TS. It appears I need to read up more on TS. I was also put off by it due to when it was released there was very little IDE support and IMHO it was a little murky on how to use it (Also MS released it AFAIK and I'm a little skeptical of anything involving MS + Web, IE scars don't heal fast). I need to look into the tooling available for it now.
- hammerandtongs 12y agoWorks great in emacs.
- aikah 12y agoTS doesn't support ES6 today. It doesn't support generators, it doesn't support ES6 modules , quasis ... For that you need to wait For Microsoft to implement those features.
- findjashua 12y agothe website says it supports modules. Quasi literals also seem to be supported.
- aikah 12y agoThat's untrue read the spec. Typescript doesn't support ES6 modules , nor quasi literals. Typescript has its own module system which is incompatible with ES6 modules.
- findjashua 12y agoFair enough. I haven't read the spec, just went to their website, and one of the first things they mention is modules and classes. Also, when I googled 'typescript template string' the first hit was https://github.com/Microsoft/TypeScript/issues/13 https://github.com/Microsoft/TypeScript/issues/13, so I assumed they were supported.