Type Alias ExtractValueType<readableArray>

ExtractValueType<readableArray>: {
    [readableName in keyof readableArray]: readableArray[readableName] extends Readable<infer readableNameType>
        ? readableNameType
        : never
}

From readableArray, an array of Readable of some value type, extract an array of this value type.

Type Parameters

  • readableArray extends ReadonlyArray<Readable<any>>