Description
81 instances of @typescript-eslint/no-explicit-any errors across the codebase.
Top Affected Files
utils/proposal-detail-utils.ts - 5 errors
components/ProposalList.tsx - multiple any types
- Various test files
Error Pattern
error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
Solution
Replace any types with:
- Proper interface/type definitions
- Generic types where appropriate
unknown with type guards for truly unknown types
- Specific union types for known possibilities
Description
81 instances of
@typescript-eslint/no-explicit-anyerrors across the codebase.Top Affected Files
utils/proposal-detail-utils.ts- 5 errorscomponents/ProposalList.tsx- multiple any typesError Pattern
Solution
Replace
anytypes with:unknownwith type guards for truly unknown types