🐛 Bug: isPropertyReadonlyInType crashes on a mapped type parameter extending any #17
Closed
3 tasks done
Labels
status: accepting prs
Please, send a pull request to resolve this! 🙏
type: bug
Something isn't working :( 🐛
Bug Report Checklist
main
branch of the repository.Expected
isPropertyReadonlyInType
shouldn't crash if provided atype
that doesn't have amodifiersType
property. Per ajafff/tsutils#136 (comment) that's actually possible.Actual
Per typescript-eslint/typescript-eslint#3405:
Additional Info
Reproduction steps:
v6
branch and runyarn
prefer-readonly-parameter-types.test.ts
yarn jest require-await
inpackages/eslint-plugin
The text was updated successfully, but these errors were encountered: