DEV Community

Discussion on: Advanced TypeScript series. Would you be interested?

Collapse
 
dansilcox profile image
Dan Silcox

Not sure how ‘experimental’ the ‘experimental decorators’ still are, thought about trying to implement a custom one the other day but kind of gave up! Maybe you could go into a bit more detail on how they work, when to/not to use them, etc?

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀 • Edited

Decorators are still in draft and have been for ages. github.com/tc39/proposal-decorators

But as this is compiled sec for a language that never actually runs, it's safe to use. Same for babel.