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

Fix omit func in core-utils.ts #126

Merged
merged 1 commit into from
Aug 15, 2022
Merged

Fix omit func in core-utils.ts #126

merged 1 commit into from
Aug 15, 2022

Conversation

Gerhut
Copy link
Contributor

@Gerhut Gerhut commented Aug 15, 2022

A further fix of #124 , sorry for a bad JS to TS manual-translation.

I previously did a hot fix in the JS file in my node_modules/react-spaces and created the PR with a manual-translation from JS to TS, causing a misspell that for...in (should be for...of), and now the <Custom> component is full broken in prop-type validation. This PR is going to fix it.

Going through your code and found that you prefer the forEach to for...of, this PR is also made base on forEach. I tested it with transpile to JS again in typescript playground and didn't find another break yet.

@aeagle aeagle merged commit 197f54e into aeagle:master Aug 15, 2022
@aeagle
Copy link
Owner

aeagle commented Aug 15, 2022

Many thanks. Package with hotfix released v0.3.6

@Gerhut Gerhut deleted the fix-omit branch August 16, 2022 05:10
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.

2 participants