-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 to TypeScript #4142
Comments
Thank you for all your efforts @Methuselah96, this looks great. |
@kylemh Thanks for all your help so far on PRs! I saw on #4293 that you're looking to help out with the TS conversion. Most of the work is actually already done. (I have the entire code-base converted to TypeScript on a branch, it's just a matter of figuring out how best to merge it in.) The PRs I've made so far have been to incrementally convert the docs to TypeScript using the types that currently exist on DefinitelyTyped. When I run across a problem in the types, I make a PR to DefinitelyTyped. This works, however it's slow because there are no active reviewers for react-select on DefinitelyTyped. Would be willing to update the types on DefinitelyTyped to 3.1 (by adding the Thanks for all your hard work! |
Down; however, that looks to already be done, no? |
I think it's in the |
I did reference the wrong line of code though. The |
I see now, the PR that added the |
Certainly! My work week is a bit busy, but I'll come back to this at some point next week at the worst. |
No worries, I can relate. Just whenever you find the time. |
I'll make changes to the By "bump the version to 3.1", you mean for: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-select/index.d.ts#L1 Additionally, did we want to upgrade the minimum required version of TS to expand what we can use? |
Thanks! Yeah, you got it. And don't forget to add yourself as a definition owner as well. Regarding the minimum required version: Can you just remove the |
TIL! On it. |
I'd like follow up with a PR after this one which simply adjusts comments (like these) to JS Doc comments. It seems so minor, but VS Code users will begin to see intellisense and - cooler still - tools like |
This is an issue to track the progress of converting this project to TypeScript. The plan is to do this incrementally in order to make the transition as smooth as possible and not make the review process too overwhelming. The overall plan is:
docs
to TypeScript.react-select
types from@types/react-select
in this step.@types/react-select
to make it work withdocs
.@types/react-select
to this repository.The text was updated successfully, but these errors were encountered: