TupleKeys
Type Aliases
Section titled “Type Aliases”TupleKeys
Section titled “TupleKeys”TupleKeys<
T> =ERange<0,T["length"]>
Defined in: packages/isaacscript-common/src/types/TupleKeys.ts:7
Helper type to get the valid indexes for a tuple. For example, using a tuple of length 3 will
return 0 | 1 | 2.
Type Parameters
Section titled “Type Parameters”T extends object
