4 ms·
And, because it does so, you can fall down really deceptive holes due to the lack of typing around things that decorators apply to, like parameters. I don't th
by eropple 4y ago
And, because it does so, you can fall down really deceptive holes due to the lack of typing around things that decorators apply to, like parameters.
I don't think that changes with stage 3 decorators, unfortunately. It makes NestJS really error-prone, in my experience, and it's a big reason I stopped making tooling for NestJS projects.
- WorldMaker 4y agoYeah, it's going to be really "exciting" for Angular users as well in the next few years because Angular is drowning in those old "experimental decorators" which are not wholly compatible with today's Stage 3 decorators and the transition is going to be error prone and tedious. Up until TS 5.x it at least gave you a compile error if you tried to use decorators in code without the "experimental" flag, but now they will compile (except where they don't) even if you have the wrong flags but the behavior is so different between the flags it likely won't run. That's going to cause some interesting havoc.