Loading
refactor(frontend): convert variants and projects to TypeScript
What does this MR do and why?
Convert the variants and projects helper modules and their unit specs to TypeScript as part of the frontend TypeScript migration (&33).
This is the first of two merge requests for #925 (closed):
- MR 1 (this MR): Converts
variants.tsandprojects.tsalong with their specs, exportingVariantandIssueReferencetypes. - MR 2: Converts
IssuesPage.vue,platformIssues.ts, and their test suites.
Behaviour changes
None.
Related issues
Related to #925 (closed)
Validation steps
- Verify TypeScript compilation and lint rules in CI pipeline.
- Verify unit tests pass in
variants.spec.tsandprojects.spec.ts.
Implemented with AI assistance; I reviewed and tested the changes.
Edited by Abdelrahman Megahed