Remix.run Logo
marcjschmidt 4 days ago

It's not able to execute TypeScript, but a subset of it. The claim in the title is misleading if not totally wrong.

This will unfortunately drive people towards using TS only as a linter, and not use its powerful features that are inherently impossible to implement with just type stripping.

bsimpson 4 days ago | parent [-]

I thought TS abandoned stuff that can't just be stripped. Besides enum, what do you use that isn't strippable?

chamomeal 4 days ago | parent [-]

I guess decorators. Which are quite powerful but I’ve never seen them used outside of libraries/frameworks that use them (angular, certain ORMs, nestjs?)

As a personal taste I don’t really like decorators that much, but it’s true that nestjs projects (which is probably a majority of new backend TS projects) will not gain anything from this release. Then again, you always set nestjs up with a template anyway that has all of the tooling and building baked in. So whatevs.

It’s still a huge huge win, and I finally have hope for typescript-ifying some horrible legacy node apps at work!!

4 days ago | parent [-]
[deleted]