Skip to content

Improve frontend TypeScript types (replace any) #16

Description

@sanmaxdev

Background

The frontend has a number of @typescript-eslint/no-explicit-any warnings (run npm run lint in frontend/). Replacing any with real types improves safety and editor autocomplete. This is a great first contribution and can be done one file at a time.

Tasks

  • Pick a file with any warnings (e.g. under frontend/lib/services/)
  • Define proper interfaces/types for the API responses
  • Confirm npm run lint shows fewer warnings and npm run build still passes

Acceptance criteria

  • No new lint errors, build succeeds
  • Scope each PR to one area so it is easy to review

Comment to claim a file so we do not overlap. See CONTRIBUTING.md.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions