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

CreateTemplatePartModal: replace ts-ignore with ts-expect-error #67709

Merged
merged 1 commit into from
Dec 7, 2024

Conversation

gigitux
Copy link
Contributor

@gigitux gigitux commented Dec 7, 2024

What?

As @ciampo mentioned (#65390 (comment)), we should never use ts-ignore. I overlooked it when I iterated on the PR. This PR replaces ts-ignore with ts-expect-error.

@gigitux gigitux added [Type] Code Quality Issues or PRs that relate to code quality [Package] Fields /packages/fields labels Dec 7, 2024
@gigitux gigitux self-assigned this Dec 7, 2024
Copy link

github-actions bot commented Dec 7, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: gigitux <[email protected]>
Co-authored-by: ciampo <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Copy link
Contributor

@ciampo ciampo left a comment

Choose a reason for hiding this comment

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

Thank you!

We should try to follow up and type those missing APIs, but this PR definitely represents an improvement over what's on trunk

@gigitux gigitux enabled auto-merge (squash) December 7, 2024 14:18
@gigitux gigitux disabled auto-merge December 7, 2024 14:18
@gigitux gigitux enabled auto-merge (squash) December 7, 2024 14:18
@gigitux gigitux merged commit df98e37 into trunk Dec 7, 2024
66 of 68 checks passed
@gigitux gigitux deleted the fix/ts-ignore-modal branch December 7, 2024 14:48
@github-actions github-actions bot added this to the Gutenberg 19.9 milestone Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Fields /packages/fields [Type] Code Quality Issues or PRs that relate to code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants