-
-
Notifications
You must be signed in to change notification settings - Fork 521
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
Proposal: SetFieldType
#718
Comments
I would name it |
Related type: #675 |
@sindresorhus looks great, i will update the issue |
This type seem like @sindresorhus Thoughts? |
Yeah, I like it better. More flexible as you can replace multiple properties with different types at once. |
I found |
I believe overwrite/merge is not quite what I am aiming for here I have used this approach before and I figured myself having to repeat the structure and the same type multiple times which made me create this helper, to easily change multiple fields to one single type |
Thinking more about this, I think we can have both types. |
A simple shallow field type replace utility type
definition:
use case:
Upvote & Fund
The text was updated successfully, but these errors were encountered: