Type Alias OverloadReturnType<F>

like ReturnType, but a union of the return types of up to 10 overloads

Type Parameters

  • F

    the (possibly overloaded) function