⚗️ transform 🔢 customization
Gets the common property keys of the elements in tuple T.
T
import { type TuplePlus } from 'type-plus'type R = TuplePlus.CommonPropKeys<[{ a: number }, { b: number }]> // nevertype R = TuplePlus.CommonPropKeys<[{ a: number, c: 1 }, { b: number, c: 2 }]> // 'c' Copy
import { type TuplePlus } from 'type-plus'type R = TuplePlus.CommonPropKeys<[{ a: number }, { b: number }]> // nevertype R = TuplePlus.CommonPropKeys<[{ a: number, c: 1 }, { b: number, c: 2 }]> // 'c'
Return type when T is never. Default to never.
never
⚗️ transform 🔢 customization
Gets the common property keys of the elements in tuple
T
.