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

chore: update declarations for schema options #11439

Merged
merged 1 commit into from
Feb 21, 2022
Merged

chore: update declarations for schema options #11439

merged 1 commit into from
Feb 21, 2022

Conversation

hiukky
Copy link
Contributor

@hiukky hiukky commented Feb 21, 2022

Added declaration for the supressReservedKeysWarning schema property.

Summary

This PR adds a declaration for the suppressReservedKeysWarning schema option added in version 6.

Copy link
Collaborator

@AbdelrahmanHafez AbdelrahmanHafez left a comment

Choose a reason for hiding this comment

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

Thanks @hiukky 👍
Can you add a test case using that option inside test\types\schema.test.ts to make sure that this will never be accidentally removed in the future?

Added declaration for the `supressReservedKeysWarning`  schema property.
@hiukky
Copy link
Contributor Author

hiukky commented Feb 21, 2022

@AbdelrahmanHafez I added a simple test looking at some previous examples, can you check if it's up to standard!?

Copy link
Collaborator

@AbdelrahmanHafez AbdelrahmanHafez left a comment

Choose a reason for hiding this comment

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

LGTM, thanks 👍

@AbdelrahmanHafez AbdelrahmanHafez merged commit 98ed1e5 into Automattic:master Feb 21, 2022
AbdelrahmanHafez added a commit that referenced this pull request Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants