Bug: [no-deprecated] doesn't report deprecated type index access #10837
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
Before You File a Bug Report Please Confirm You Have Done The Following...
Playground Link
https://typescript-eslint.io/play/#ts=5.3.3&fileType=.ts&code=C4TwDgpgBAKhDOwoF4oG8BQUoHoBUeUAAgCYRgBOEAxgIbAQlR45ZS0BcUA5LdwDRsARl25CBGAL4BuDBhw4o8ABYB7AK4AbJhAoVVFKEPVISqhADtuwDKEhQASgi1JUcRAG1e3ALqygA&eslintrc=N4KABGBEBOCuA2BTAzpAXGUEKQAIBcBPABxQGNoBLY-AWhXkoDt8B6Jge1oBNFjpEZAIb5E3dGADakRNGgdokALrgwAXxBqgA&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eAcgK6qoDCAFutAGsylBm3TgwAXxCSgA&tokens=false
Repro Code
ESLint Config
tsconfig
Expected Result
I expected the deprecated type index access to be reported since it's also reported by TypeScript as deprecated.
Actual Result
The deprecated type index access hasn't been reported.
Additional Info
No response
The text was updated successfully, but these errors were encountered: