News for hackers. Stuff that matters.
Re:Show HN: Ezno, a type checker for JavaScript and optimise... by tlrobinson on Friday September 23, 2022 @07:40PM (#32958361)
It sounds like you want “deno compile” (https://deno.land/[email protected]/tools/compiler) plus “no-explicit-any” eslint rule (https://github.com/typescript-eslint/typescript-eslint/blob/...).

Or are you wanting a language with different semantics that could be compiled to actual machine code?

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.