Re:Deno Desktop
by flohofwoe on Monday June 22, 2026 @03:29AM
(#48626927)
Deno also just strips the type annotations when running TS code - at least by default. To get type checking you'll need to run via `deno run --check`, or use the separate `deno check` subcommand. No big deal since type checking and linting usually happens automatically in the IDE during development.
[ Parent
| on HN ]
Good to know. Does it also preclude features like enums?
Huh, I was going to mention Node's `--experimental-transform-types`, but that was completely removed in v26: https://github.com/nodejs/node/pull/61803
Wow, this is sad to hear. So if I understood correctly, node is walking back from trying to run TypeScript? Pretty sad if so.
I hope it's a temporary step back to leap forward, in the future.
Only for non-erasable Typescript! The support for running erasable TS is here to stay. It's not ideal, but on the other hand this is paving the way for the TC39 proposal - if that ever progresses...
Re:Deno Desktop
by bartlomieju on Monday June 22, 2026 @06:45AM
(#48628400)
Bartek from the Deno here. Nope, we do support enums OOTB.