[prefer-readonly-parameter-types] Error with combination of type parameter, readonly array, and mapped type #1742
Labels
bug
Something isn't working
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
.eslintrc.json
tsconfig.json
src/index.ts
Expected Result
Lint finishes without throwing error.
Actual Result
TypeError: Cannot read property 'flags' of undefined
is thrown.Additional Info
Versions
@typescript-eslint/eslint-plugin
2.23.0
and2.23.1-alpha.7
@typescript-eslint/parser
2.23.0
and2.23.1-alpha.7
TypeScript
3.7.5
ESLint
6.8.0
node
12.14.1
npm
6.13.4
The text was updated successfully, but these errors were encountered: