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.
Migrate the existing JavaScript codebase to TypeScript for better type safety, improved developer experience, and easier maintainability.
tsconfig.jsonfile)..ts).@rollup/plugin-typescript).README.mdto reflect the migration and provide instructions for building and testing the TypeScript codebase.