-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 file to ts #7092
Convert file to ts #7092
Conversation
Gatsby Cloud Build Reportethereum-org-website-dev 🎉 Your build was successful! See the Deploy preview here. Build Details🕐 Build time: 11m |
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.
LGTM @vdusart 💪🏼 I've only added the Gatsby auto generated query types to the get-eth
page. The rest is perfect.
src/data/CreateWallet.ts
Outdated
@@ -1,18 +1,20 @@ | |||
// This content is used as a code example in /src/pages/index.js | |||
// Kept here for easy formatting. |
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.
@samajammin from the comment I suspect that we shouldn't migrate this file to TS. Or maybe we can just delete it since it is not being used by other files. Let us know if you want to keep it as it is.
Sorry @vdusart for not detecting this question before. I know this file was on the list. Lets wait for Sam's confirmation before merging this 👍🏼
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.
@samajammin from the comment I suspect that we shouldn't migrate this file to TS. Or maybe we can just delete it since it is not being used by other files. Let us know if you want to keep it as it is.
Sorry @vdusart for not detecting this question before. I know this file was on the list. Lets wait for Sam's confirmation before merging this 👍🏼
Yes sure, no worries about that 😁
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.
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.
That is right. From a conversation with Sam, let's keep this file in .js
format as the plan is to import it in the code example block that you mentioned. See #7150 for more context.
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.
Oh ok !
I'm gonna revert the changes on this file then and do the refactor to import the files 😄
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.
Ok, cool. If possible lets do that refactor in a different PR so that we can merge this one earlier and to have things separated. What do you think?
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.
Yes of course, it doesn't really make sense to make the changes here. I asked sam to assign me the issue #7150 .
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.
Perfect! thanks
Moving files to TS.
Related Issue
Conversion to TS according to #6392