I don’t understand why prettier is unhappy with the following code. Error is
SyntaxError: Decorators cannot be used to decorate object literal properties. (9:3)
I have the same construction in other places that look, to me, to be exactly the same.
EDIT: this seems to have started working for reasons completely unclear. I’ll delete this next. Except I can’t.