Skip to content
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

withSpokenMessages: Change js files to typescript #48163

Merged

Conversation

bhavz-10
Copy link
Contributor

@bhavz-10 bhavz-10 commented Feb 17, 2023

What?

Converting Javascript files to Typescript

Why?

As mentioned in #35744, we want all javascript files to be converted to typescript

How?

Change to tsx files and run build to make sure it does not throw an error.
There is a change in test added runtime as any was implicitly declared as the value type.

@bhavz-10 bhavz-10 requested a review from ajitbohra as a code owner February 17, 2023 09:00
@github-actions github-actions bot added the First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository label Feb 17, 2023
@github-actions
Copy link

👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @bhavz-10! In case you missed it, we'd love to have you join us in our Slack community, where we hold regularly weekly meetings open to anyone to coordinate with each other.

If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information.

@mirka mirka self-requested a review February 27, 2023 10:14
@mirka mirka changed the title Refactor: Change js files to typescript withSpokenMessages: Change js files to typescript Feb 28, 2023
Copy link
Member

@mirka mirka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you! 🎉

If you can add a line to the "Internal" section of the changelog, we're good to merge 👍

@ciampo ciampo added [Type] Code Quality Issues or PRs that relate to code quality [Package] Components /packages/components labels Mar 2, 2023
@ciampo
Copy link
Contributor

ciampo commented Mar 2, 2023

Hey @bhavz-10 , do you still have capacity to work on this PR?

Otherwise we're happy to take over and merge the PR for you 🚀

@bhavz-10
Copy link
Contributor Author

bhavz-10 commented Mar 2, 2023

Hello @ciampo

I will work and push the change requested today.

Thank You

bhavz-10 and others added 2 commits March 3, 2023 23:32
Signed-off-by: bhavz-10 <bhavik.kalpesh@rtcamp.com>
@bhavz-10
Copy link
Contributor Author

bhavz-10 commented Mar 3, 2023

Hello @mirka , @ciampo

I have addressed the change requested.

Thank You 🙌

Copy link
Member

@mirka mirka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I just went ahead and tweaked the positioning of the changelog so it isn't misplaced in current trunk 👍

Thanks again for your contribution!

@mirka mirka merged commit 5c70e51 into WordPress:trunk Mar 6, 2023
@github-actions github-actions bot added this to the Gutenberg 15.4 milestone Mar 6, 2023
@bhavz-10
Copy link
Contributor Author

bhavz-10 commented Mar 6, 2023

Hello @mirka

Thank you for making the tweak.
I have noted that down and I will take care of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository [Package] Components /packages/components [Type] Code Quality Issues or PRs that relate to code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants