Home > types-kit > DeepTupleGet
Get the deep specified value by tuple from T.
Signature:
export type DeepTupleGet<
T,
K extends readonly DeepKeys<T>[],
> = InternalDeepTupleGet<T, K>References: DeepKeys, InternalDeepTupleGet
interface Props {
a: {
d: () => void
}
b: string
c: boolean
}
// Expect: [()=> void, string]
type PropValues = DeepTupleGet<Props, ['a.d', 'b']>