CombineResultsWithAllErrorsArray<T extends readonly Result<unknown, unknown>[]>: IsLiteralArray<T> extends 1
    ? TraverseWithAllErrors<T>
    : Result<ExtractOkTypes<T>, ExtractErrTypes<T>[number][]>

Type Parameters

  • T extends readonly Result<unknown, unknown>[]