-
-
Notifications
You must be signed in to change notification settings - Fork 437
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
Help wanted, conversion to TS #902
Comments
I'll take a look this weekend |
Hi, I'd love to help. I'm newbie but have got a little experience with the JS -> TS refactoring, done such task before. I'd love to try and start with something small if it's possible |
I'd say pick a file and follow the steps in the OP :) |
Hi, I've picked 'Layout.ts' component and also 'media' and 'rem' utils that are related to this component. It's almost ready, but I'm not sure how to define properly |
Thanks for taking this on! :) I think |
Thanks! |
Hi friends! As of this issue the repo is now ready and supporting migrating page and component files to use TypeScript. For the most part, this will involve:
Renaming a file to us a
ts
ortsx
extension (depending on the presence of JSX)Updating any imports if necessary
Removing use of prop types in favor of function component argument defaults
Adding a type signature to styled components that consume props, e.g.
If you'd like to claim a file or folder, please comment on this thread to let other people know and start a PR! Thank you very much for helping out 😄
The text was updated successfully, but these errors were encountered: