We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently Merge is limited to only 2 arguments Merge<Destination, Source>. In cases where you want to merge more things, you have to nest it, like so:
Merge
Merge<Destination, Source>
type MyComplexType = Merge< FinalDestination, Merge< IntermediateDestination, Source, >, >;
This request is just to give some syntactic sugar for that case, like so:
type MyComplexType = Merge<FinalDestination, IntermediateDestination, Source>;
The text was updated successfully, but these errors were encountered:
Seems like this isn't really possible, needs a feature like this to allow spread in generics.
Sorry, something went wrong.
No branches or pull requests
Currently
Merge
is limited to only 2 argumentsMerge<Destination, Source>
. In cases where you want to merge more things, you have to nest it, like so:This request is just to give some syntactic sugar for that case, like so:
Upvote & Fund
The text was updated successfully, but these errors were encountered: