toddmotto / ama

Ask me anything!
20 stars 3 forks source link

The Future of TypeScript Decorators & Angular2 #64

Open jongunter opened 7 years ago

jongunter commented 7 years ago

Hi Todd, just curious—Angular2 relies a lot on Typescript Decorators, which are an experimental feature of the language. Since Angular is now a stable framework, what happens if the TypeScript team makes a major change to (or altogether removes) decorators in the next TS release.

I couldn't seem to find the answer elsewhere so I figured I'd ask here. Your blog is excellent, by the way—pretty much taught me Angular 1 and 2! Keep up the good work!

toddmotto commented 7 years ago

I don't think they will ever do this, plus it's actually an ECMAScript proposal currently, see here.

Thanks for the kind words my friend! Glad it's been super useful to you :)