E0165: TypeScript style const field
const
fields are only allowed in TypeScript, not JavaScript
class C {
const f = null;
}
To fix this error, remove the const
declarator from the field
class C {
f = null;
}
Introduced in quick-lint-js version 0.3.0.