E0305: 'this' parameters are not allowed in JavaScript
TypeScript allows you to explicitly declare the this
parameter. It is a syntax
error to declare the this
parameter in JavaScript code:
To fix this error, remove the this
parameter:
Alternatively, convert the arrow function into a function declared with the
function
keyword and also remove the this
parameter:
Introduced in quick-lint-js version 2.10.0.
Documentation for other errors