Skip to content

🐛 Bug Report: Improve Type Safety in Signup.tsx Error Handling #347

@Jai-Shankar1033

Description

@Jai-Shankar1033

📜 Description

While reviewing the authentication components, I found that Signup.tsx was using catch (error: any) for error handling, which bypasses TypeScript type safety.

I worked on improving and made following change they are :-

  • Replaced unsafe any type with unknown
  • Added safe Axios error type narrowing
  • Improved TypeScript safety and maintainability
  • Kept error handling consistent with project standards

What browsers are you seeing the problem on?

No response

📃 Relevant Screenshots (Links)

No response

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions