tc39 / proposal-type-annotations

ECMAScript proposal for type syntax that is erased - Stage 1
https://tc39.es/proposal-type-annotations/
4.13k stars 44 forks source link

Abstract type syntax away from core JavaScript syntax #212

Open joetidee opened 4 months ago

joetidee commented 4 months ago

One thing that has put me off TypeScript has been how much it interferes with the readability of JavaScript code. There are obvious benefits to type checking, but I don't feel that it can come at the price of raising the barrier of understanding code, which ultimately affects productivity. For me the ideal solution would be to have declarations that require no syntactical interference with the mainstream code.

azder commented 3 months ago

@joetidee FYI https://github.com/tc39/proposal-type-annotations/issues/176