react-final-form
react-final-form copied to clipboard
feat: 🔄 use StrictOmit
Hey 👋
I've seen that Omit usage was removed here – https://github.com/final-form/react-final-form/pull/589
I was interested whether you want to use builtin Omit from typescript or use StrictOmit from ts-essentials which also checks if the property is in the object (before removing it)
If you prefer Omit to not use ts-essentials, I will adapt the PR to be able to get rid of ts-essentials
Refers to https://github.com/final-form/react-final-form/issues/765
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit 1f5e706ccb95c5dd11225584323d3c8359c4e868:
| Sandbox | Source |
|---|---|
| React Final Form - Simple Example | Configuration |
| React Final Form - Synchronous Record Level Validation | Configuration |
| React Final Form - Synchronous Field Level Validation | Configuration |
| React Final Form - Submission Errors | Configuration |
| React Final Form - Subscriptions Example | Configuration |
@Beraliv Please use the built-in typescript Omit as per the recommendation https://github.com/final-form/react-final-form/pull/589#issuecomment-521011710
I'm happy to do it