Skip to content

Convert Project to TypeScript #6

Description

@VikramSinghMTL

Migrate the existing JavaScript codebase to TypeScript for better type safety, improved developer experience, and easier maintainability.

  • Set up TypeScript in the project (install typescript and create a tsconfig.json file).
  • Convert all JavaScript files to TypeScript (.ts).
  • Define interfaces and types for core functionalities, such as:
    • Data models (e.g., assessments, grade rows).
    • UI elements (e.g., modal options, event handlers).
  • Refactor code to fix any type errors introduced during the migration.
  • Update the Rollup configuration to support TypeScript (@rollup/plugin-typescript).
  • Ensure tests and GitHub Actions workflows work seamlessly with TypeScript.
  • Update the README.md to reflect the migration and provide instructions for building and testing the TypeScript codebase.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions