Cannot get the js in my component to compile SyntaxError: Private field must be used in an enclosing class

Widgets are going away. It’s not a good idea to use the widget api.

Use Glimmer Components.