Remix.run Logo
flohofwoe a day ago

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.

bel8 a day ago | parent [-]

Good to know. Does it also preclude features like enums?

Timon3 a day ago | parent | next [-]

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

bel8 21 hours ago | parent | next [-]

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.

Timon3 16 hours ago | parent [-]

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...

a day ago | parent | prev [-]
[deleted]
bartlomieju a day ago | parent | prev [-]

Bartek from the Deno here. Nope, we do support enums OOTB.