[prefer-readonly-parameter-types] Cannot read property 'flags' of undefined #3405
Closed
3 tasks done
Labels
bug
Something isn't working
external
This issue is with another package, not typescript-eslint itself
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Milestone
Hello,
prefer-readonly-parameter-types
rule seems to crash in certain cases. This issue was spotted by automated CI run - it is not blocking my development or anything.Repro
This is as minimal as I could narrow the issue down.
Expected Result
ESLint should not crash.
Actual Result
Additional Info
Crash reports from real projects
Rule: prefer-readonly-parameter-types
Cannot read property 'flags' of undefined Occurred while linting /workspaces/eslint-remote-tester/node_modules/.cache-eslint-remote-tester/querycap/webappkit/@querycap/reactutils/must.tsx:7
querycap/webappkit/@querycap/reactutils/must.tsx
Versions
@typescript-eslint/eslint-plugin
4.23.0
@typescript-eslint/parser
4.23.0
TypeScript
4.2.4
ESLint
7.26.0
node
v14.15.1
The text was updated successfully, but these errors were encountered: