11 - Tuple to Object
Author: M2S-SDCreated Sep 20, 2026Updated Sep 20, 2026
Labelsansweren11
type TupleToObject<T extends readonly PropertyKey[]> = {
[P in keyof T[number]]: P
}Source: type-challenges/type-challenges
type TupleToObject<T extends readonly PropertyKey[]> = {
[P in keyof T[number]]: P
}Source: type-challenges/type-challenges