Re:Show HN: Ezno, a type checker for JavaScript and optimise...
by yencabulator on Thursday September 29, 2022 @05:29PM
(#33027481)
That still allows `x as string` and many other traps. Typescript just isn't type-safe, and this has bitten me so many times in real world projects with strict mode and all. The best thing I can say about Typescript is that it's an improvement over Javascript.
Or are you wanting a language with different semantics that could be compiled to actual machine code?