Skip to content

Instantly share code, notes, and snippets.

View DK-0101's full-sized avatar
🏠
Working from home

Daykson Tavares DK-0101

🏠
Working from home
View GitHub Profile
@DK-0101
DK-0101 / gsoc2023.md
Created January 15, 2024 14:34 — forked from jychen630/gsoc2023.md
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.