5 ms·
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 u
by magicalist 5y ago
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.
- davidmurdoch 5y agoOh 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?
- xtracto 5y agoBecause there is something wrong happening while the transpilation of the non-standard feature is happening.