Converts a function overload (an intersection of function signatures)
into a union of those signatures.
This is useful when you want to handle multiple function signatures as separate types,
rather than a single intersection of them.
Type Parameters
TypedOverloadextends(...args:any[])=>any
Template: TOverload
The function overload type, typically an intersection of function signatures.
Converts a function overload (an intersection of function signatures) into a union of those signatures. This is useful when you want to handle multiple function signatures as separate types, rather than a single intersection of them.