3 ms·
TS 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 th
by aikah 12y ago
TS 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.