Skip to content

chore(frontend): remove explicit any and fix lint issues#1006

Open
sakeena-7878 wants to merge 2 commits into
SdSarthak:mainfrom
sakeena-7878:chore/frontend-lint-cleanup-v2
Open

chore(frontend): remove explicit any and fix lint issues#1006
sakeena-7878 wants to merge 2 commits into
SdSarthak:mainfrom
sakeena-7878:chore/frontend-lint-cleanup-v2

Conversation

@sakeena-7878

Copy link
Copy Markdown
Contributor

Summary

Closes #

This PR fixes frontend ESLint violations caused by @typescript-eslint/no-explicit-any in Login, Register, and API service files. It improves TypeScript type safety by replacing unsafe any usage with proper ValidationError typing and correcting interceptor error handling in the Axios API layer.


Type of Change

  • Refactor

  • Tests

  • Bug fix

  • New feature

  • Documentation update

  • Infra / CI


Checklist

  • I have read CONTRIBUTING.md

  • My code follows the project style (PEP 8 for Python, ESLint for TS)

  • I have added/updated tests where relevant

  • pytest backend/tests/ passes locally

  • I have not committed .env or any secrets

  • I have updated documentation if needed


Screenshots (if UI change)

Not applicable — no UI changes were made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant