Remix.run Logo
bsimpson 4 days ago

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]