Skip to content

TypeScript 5.0 Beta

devblogs.microsoft.com
18 pointsromellem2 comments
On HN

Comments

Exciting to see Decorators on the next release. I personally find them really neat so I want to use them in some way. Unfortunately the last few times I tried it using the experimental flag, it came with more trouble compared to not using it. Will probably revisit it when it's out of beta.

Kind of a bummer that decorator metadata won't be supported, but this is at least a step in the right direction.

I'm looking forward to the day that I can write validation decorators for intersections, unions, and generics without doing any crazy hacks.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.