Bug: [switch-exhaustiveness-check] Some cases for member names are not being fixed properly #7768
Closed
4 tasks done
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=4.9.3&showAST=es&fileType=.tsx&code=KYOwrgtgBAglDeAoKUBCUC8UCMAaZUA5AMIC0ATIZlOfigNoAGAIqQMyMC61bdUTAUVKIRKACxdqY-AF8RAE2ABjADYBDAE7AoSgPYgAzgBcoagFywRBgO4BLI0oAWUABRqAlAgJK1B7TAA6VAt4KCNHDV1rKBBgaIENSI0XQgA5XRNbCAAHFWAIUCNgeSgAT2AjC0D0Hz9CTzkZIA&eslintrc=N4KABGBEBOCuA2BTAzpAXGUEKQAIBcBPABxQGNoBLY-AWhXkoDt8B6ZAd0vzIAt6AHrwCGsZPkoA3RExTJafRGQDW6KImjQA9tEjgwAXxAGgA&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eAcgK6qoDCAFutAGsylBm3TgwAXxCSgA&tokens=false
Run the fixer and you'll notice the issue
Repro Code
ESLint Config
tsconfig
No response
Expected Result
Probably this?
Actual Result
Additional Info
No response
The text was updated successfully, but these errors were encountered: