Skip to content

Migrate codebase to Typescript #2051

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jdeniau opened this issue Feb 22, 2025 · 0 comments
Open

Migrate codebase to Typescript #2051

jdeniau opened this issue Feb 22, 2025 · 0 comments
Milestone

Comments

@jdeniau
Copy link
Member

jdeniau commented Feb 22, 2025

The migration to TS will probably occur on two different branches :

A list of things already spotted that won't be possible on v5 :

  • buble is our actual ES5 compiler, and does not works well with typescript output or even modern code (string interpolation, class props, etc.), : Replace buble by babel #2050
  • In the immutable codebase, the class constructor are factories that can create instances of other classes. This is not possible in modern JS. (See Avoid return in constructors #2041 )

The purpose of that is to make the full migration the less risky possible by doing everything possible in the v5 branch.

@jdeniau jdeniau added this to the 6.0 milestone Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant