E0222: 'private' is not allowed in JavaScript
JavaScript private properties are declared using #
. It is a syntax error to
write private
in JavaScript code:
To fix this error, rename the property with a #
prefix and remove the
private
keyword:
Alternatively, make the property public by removing the private
keyword:
Introduced in quick-lint-js version 2.6.0.
Documentation for other errors