Skip to content

Switch the client codebase to typescript #22

@MohakGupta2004

Description

@MohakGupta2004

Describe the Task

The current client-side codebase is written in plain JavaScript. To improve type safety, maintainability, and developer experience, we should migrate the entire client codebase to TypeScript.


Reasoning / Benefits

  • Prevents runtime errors through static type checking
  • Improves IDE autocomplete and refactoring safety
  • Enables clearer interfaces for API calls, hooks, and state management
  • Easier long-term scalability as the codebase grows

Suggested Migration Strategy

Acceptance Criteria

  • All client-side source files are in .ts / .tsx format

  • Project builds successfully without type errors

  • Basic interfaces/types are defined for:

    • API responses
    • Props/state for components
    • Reusable utilities

Additional Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions