Closed
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I have searched for related issues and found none that matched my issue.
- I have read the FAQ and my problem is not listed.
Playground Link
Repro Code
let value: NotKnown;
value.property;
ESLint Config
module.exports = {
"rules": {
"@typescript-eslint/no-unsafe-member-access": "error"
}
}
tsconfig
Expected Result
When the value having a property accessed is of an "error" type, there should be some indication that it's not the same as an any
. It's confusing for developers to see both "error" any
s and "true" any
s described with the same messaging.
Actual Result
Unsafe member access .property on an `any` value. 3:7 - 3:15
Additional Info
💖