-
Notifications
You must be signed in to change notification settings - Fork 931
chore: convert tools/config folder to TS #710
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
chore: convert tools/config folder to TS #710
Conversation
cd9e2ad to
6e0766b
Compare
It's not clear to me what you're having a hard time typing. Is it migrating the type from Flow to TypeScript that is the issue for you? I created a TypeScript playground for getting started with the I also came across this utility tonight which you may find helpful, care of Khan Academy, https://flow-to-ts.netlify.com. |
|
There was a problem with |
5e845f8 to
4bcbf2f
Compare
7d011bb to
3b72bfb
Compare
3b72bfb to
8d0ab68
Compare
2bd5f89 to
a47b6d1
Compare
|
Tested below commands: and it works for both platforms. In this case netinfo was added to project correctly. |
Esemesek
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.
Apart from 2 comments I left PR is LGTMT.
Part of #683 (comment)
Current progress
Problem description:
File
readConfigFromDisk.jscontains methods, which use cosmiconfig dependency or just convertpackage.jsonfile. I have a problem to type this readers correctly and map returned values intoUserConfigorUserDependencyConfig. All methods fromreadConfigFromDiskfile should returnUserConfigorUserDependencyConfig(this type should be created based on schema validator).