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

refac: improved isObjectType and swap #11183

Merged
merged 1 commit into from Nov 10, 2023

Conversation

ssi02014
Copy link
Contributor

@bluebill1049 👋
I clearly specified the type of isObjectType for the type guard to work.

Task on swap Just a quick suggestion. I think we could use the ECMAScript 6 syntax destructuring assignment to make it more concise and readable. What do you think?

Copy link

codesandbox bot commented Nov 10, 2023

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link
Member

@bluebill1049 bluebill1049 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.

@bluebill1049 bluebill1049 merged commit d116a15 into react-hook-form:master Nov 10, 2023
7 checks passed
@ssi02014 ssi02014 deleted the fix/utils branch November 11, 2023 03:21
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