Type Alias MappedTuple<OriginalTuple, NewValueType>

MappedTuple<OriginalTuple, NewValueType>: {
    [I in keyof OriginalTuple]: NewValueType
}

Creates a tuple with length of OriginalTuple with values of NewValueType.

Type Parameters

  • OriginalTuple extends ReadonlyArray<any>
  • NewValueType