Prettier complains that @discourseComputed cannot be used to decorate literal properties

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. :crying_cat_face:

EDIT: this seems to have started working for reasons completely unclear. I’ll delete this next. Except I can’t.

4 Likes