-
Notifications
You must be signed in to change notification settings - Fork 931
Migrate doctor command to TypeScript #712
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
Migrate doctor command to TypeScript #712
Conversation
|
I'm having an issue trying to move the exported types to When I try to move the |
|
Which types you try to "move"? cc @lucasbento who's working on |
|
Solid work, thank you for doing this @thib92! I would go with merging this in small chunks if possible as a lot of stuff is being changed on |
|
@thymikee thanks for the response. I thought that I wanted to "move" the Therefore, moving it to @lucasbento sure. Now that I have an answer to my question, I'll make a minimal passing build so that it can be merged soon to allow continuous work on the command. |
|
@thymikee @lucasbento I think the PR is good to review as is. I moved to the types to the The flow check is failing now, since some JS files are trying to import files converted to TS. Should I remove the |
|
If the file is js, leave flow alone, just add $FlowFixMe comments to the imports of TS files. See how it's done in other modules :) |
Restore Flow types
|
Great! That's a lot of |
thymikee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good. @lucasbento could you please check it as well?
lucasbento
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This awesome ❤️
|
Thanks for the review @thymikee @lucasbento |
Summary:
Migrate
packages/cli/src/commands/doctorto TypeScript, with the exported type definitions incli-types.Related to #683
Current progress:
healthchecks/**doctorindexprintFixOptionsrunAutomaticFixversionRangesTest Plan:
CI should be green