[prefer-readonly-parameter-types] extending ReadonlyArray gives false positive #1789
Labels
documentation
Documentation ("docs") that needs adding/updating
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
No error
Actual Result
Parameter should be a read only type
Additional Info
This is the example within https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/prefer-readonly-parameter-types.md
Versions
@typescript-eslint/eslint-plugin
2.25.0
@typescript-eslint/parser
2.25.0
TypeScript
3.8.3
ESLint
6.8.0
node
12.16.1
npm
6.13.4
The text was updated successfully, but these errors were encountered: