Skip to content

Instantly share code, notes, and snippets.

View RAQEEB212's full-sized avatar
🎯
Focusing

Raqeeb RAQEEB212

🎯
Focusing
  • Sukkur IBA University
View GitHub Profile
@jychen630
jychen630 / gsoc2023.md
Last active May 4, 2024 16:28
Google Summer of Code 2023 | Junyao Chen | Zulip | TypeScript Migration | Final Submission Report

Project Overview

This project focuses on migrating JavaScript codebase to Typescript. Zulip is in the process of porting the main web app JavaScript codebase to TypeScript. The challenges for migrating JS to TS include circular imports, a large number of interdependent modules, tracking down complex cycles, multiple cycles in one module, order of conversion, and understanding types and their relationships. The proposed solutions include classifying circular imports, passing callback workaround, extracting common functionality into a third module, and writing unit and integration tests to ensure the migrated codebase functions properly.

My work

Checklist

I created a checklist issue #25842 tracking the typescript migration progress as of the entire TypeScript migration project.