E0231: methods cannot be readonly
Class and interface methods cannot be marked as read-only. It is a syntax error
to write readonly
on a method:
To fix this error, remove the readonly
keyword:
Alternatively, for TypeScript interface methods, convert the method into a field with a function type:
Introduced in quick-lint-js version 2.6.0.