[prefer-readonly-parameter-types] crashing with error Non-null Assertion Failed: Expected to find a property "#promise" for the type. #4068
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
bug
Something isn't working
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
I have a created a repo, this contains the config and files causing the crash:
https://github.com/Jamesernator/typescript-eslint-issue-replication
You can run
npm run lint
to trigger linting.Expected Result
It should not crash, it should lint normally.
Actual Result
I get an error:
Additional Info
Eslint output with
--debug
:Versions
@typescript-eslint/eslint-plugin
5.2.0
@typescript-eslint/parser
5.2.0
TypeScript
4.4.4
ESLint
8.1.0
node
17.0.1
The text was updated successfully, but these errors were encountered: