Skip to content

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

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

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions