Skip to content

Convert Components and Pages to TypeScriptΒ #9

@mohitvermax

Description

@mohitvermax

πŸ“ Description

Migrate all UI components and page files from .jsx to .tsx.
Ensure all props, state, and event handlers have explicit types for better maintainability and IDE support.


βœ… Tasks

  • Convert all files in /components:
    • Adsr.jsx, Display.jsx, Equalizers.jsx, Keys.jsx
  • Convert /pages/Sonara.jsx and root-level React files (App.jsx, main.jsx).
  • Use interfaces from /types for prop definitions.
  • Fix type errors, especially around event handlers and refs.
  • Test and confirm UI behavior remains unchanged.

🎯 Expected Outcome

  • All React components use TypeScript (.tsx).
  • Props and state are strongly typed.
  • The app compiles cleanly with no runtime changes.
  • Improved code clarity and developer experience.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions