proposal-pluggable-types
proposal-pluggable-types copied to clipboard
A stage 0 proposal to add a pluggable type system to JavaScript
The TypeScript team have created a similar proposal: https://github.com/giltayar/proposal-types-as-comments
A major point of conflict between TS/Flow and the ES spec is with generic type instantiation: ```ts let foo = new Foo(1) ``` That production is parsed by TS and...
I'm a big user of typescript and I'm not convinced at all by this proposal: 1) Types require a lot of new syntax which evolves contently, and require hundred of...