News for hackers. Stuff that matters.
Re:A 'CSS reset' for TypeScript, improving types for common ... by latchkey on Friday March 03, 2023 @04:48PM (#35015494)
I love it when my code fails to compile. Machines are good at finding problems. It is a feature, not a bug.
Re:A 'CSS reset' for TypeScript, improving types for common ... by myfonj on Saturday March 04, 2023 @07:01AM (#35020228)
That's the point. Suggested setup (editor with JS/TS language server constantly checking your code) means you will know about every problem that would possibly break something, you just don't need separate "source code" producing "build package". It means you can ship your code directly to target platform that only understands JavaScript.

AFAIK that's not what you currently can do with TypeScript (except Deno).

Re:A 'CSS reset' for TypeScript, improving types for common ... by latchkey on Sunday March 05, 2023 @12:15AM (#35027085)
All someone has to do is embed one of the fancy new rust tsc implementations into a Node distribution, and be done with it. Deno is not Node.