Re:A 'CSS reset' for TypeScript, improving types for common ...
by commotionfever on Friday March 03, 2023 @09:36AM
(#35010122)
it doesn't require a build step though
[ Parent
| on HN ]
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).