E0301: 'this' parameters are not allowed in arrow functions
TypeScript allows you to add a type annotation to the implicit this
parameter
explicitly. This is possible in methods, in functions declared with the
function
keyword, and in function types. It is a syntax error to write a
this
parameter explicitly in an arrow function:
To fix this error, write a function with the function
keyword instead of an
arrow function:
Introduced in quick-lint-js version 2.10.0.