News for hackers. Stuff that matters.
Re:Deep introduction to class decorators in TypeScript by magicalist on Tuesday February 15, 2022 @11:23PM (#30356339)
But decorators aren't a JavaScript feature, that's the point of this comment thread.

Some form of them might eventually be a JavaScript feature, but anything using them now is potentially incompatible with that future form.

Re:Deep introduction to class decorators in TypeScript by davidmurdoch on Wednesday February 16, 2022 @11:51AM (#30362323)
Oh yeah, sorry, I shouldn't have worded it that way. the decorators are being transpiled at runtime to standard JS, so why shouldn't tooling like jest be able to work with that?
Re:Deep introduction to class decorators in TypeScript by xtracto on Wednesday February 16, 2022 @01:14PM (#30363493)
Because there is something wrong happening while the transpilation of the non-standard feature is happening.