Bug: [no-shadow] 'T' in static method is already declared in upper scope when class is in a factory function #7664
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.2.2&fileType=.tsx&code=GYVwdgxgLglg9mABAWwIYGsCmBBAFASkQG8BYAKEUQCdMoQqkIAbVAZ1cWwB4AVAPmLlKlCAlZQqIaHCq4ADiABGTGBEQA3VExCYAXIh6EiiAL7khw8alhq0WXn1ybteg0YvDqtekjCYA7pwOTlo6%2BADcHqYWZmSx5KJg4pyIALwoGDgE5EA&eslintrc=N4KABGBEBOCuA2BTAzpAXGUEKQAIBcBPABxQGNoBLY-AWhXkoDt8B6Jge1uQAsBDACYcA7uiiJo0DtEjgwAXxDygA&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eAcgK6qoDCAFutAGsylBm3TgwAXxCSgA&tokens=false
Repro Code
ESLint Config
Expected Result
No lint errors.
Actual Result
Additional Info
No response
The text was updated successfully, but these errors were encountered: