5 ms·
The control-flow analysis of types is very clever. I've been slowly switching away from Coffeescript to Typescript and have been mostly happy with it. Only th
by statictype 10y ago
The control-flow analysis of types is very clever.
I've been slowly switching away from Coffeescript to Typescript and have been mostly happy with it.
Only thing I still struggle with is grappling the namespace/modules mess in Javascript that's been inherited by Typescript.
- nathancahill 10y agoIs it inherited from JS though? I was under the impression that Typescript was doing their own thing (like /// <reference)
- DougBTX 10y agoTypeScript picked up a few features that were ultimately removed from JS at the draft spec stage, AFAIK the xml style references were never in a JS spec, but the convention has been around a while. TS also supports import etc.
- nathancahill 10y agoThe thing that bugs me the most is the inconsistent implementation of default imports with ES6. Makes it hard to work with a lot of libraries.