Skip to content
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

Convert entire codebase to TypeScript #5325

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Convert entire codebase to TypeScript #5325

wants to merge 10 commits into from

Conversation

elado
Copy link
Contributor

@elado elado commented Dec 17, 2020

Description

Continuing TypeScript migration after viz-lib migration
#5310

  • Used Airbnb's ts-migrate tool https://github.com/airbnb/ts-migrate
  • Added some missing @types/* packages
  • Reconfigured tsconfig, webpack, babel, build script
  • There are still plenty of ts-expect-error across the codebase, this is expected and a part of the migration. Some of them are actual errors (like accessing something that can be null) and some of them are as a result of bad type inference. They should all be cleaned up manually. Whenever editing a file we can remove a comment and see what is the actual error, then fix it.

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

Successfully merging this pull request may close these issues.

1 participant