Re:Why is the JavaScript ecosystem like this
by ElectricalUnion on Thursday January 05, 2023 @11:39AM
(#34262452)
> If browser vendors bundled tsc or its equivalent then we'd both be stoked.
Not exactly this, but there was a proposal that would allow for typescript type hints to be considered as normal JS syntax: (in the same way python PEP 484 – Type Hints are considered optional type hints)
https://github.com/tc39/proposal-type-annotations
Deno on the server side is pretty cool and uses https://swc.rs/ (Speedy Web Compiler) - doesn't take forever to start, but kinda implements typescript as if it was just a type annotations without the more in-depth actual type checking, so it is possible.
Re:Why is the JavaScript ecosystem like this
by erik_seaberg on Thursday January 05, 2023 @03:19PM
(#34265920)
Having a build step is our only hope of being able to extend and customize the language.
If browser vendors bundled tsc or its equivalent then we'd both be stoked.