quetch / Get
Get<
T
,P
>: [P
] extends [readonly [infer K,...(infer R)
]] ?K
extends keyofT
?R
extendsPath
<T
[K
]> ?Get
<T
[K
],R
> :T
[K
] :never
: [P
] extends [keyofT
] ?T
[P
] :T
Returns the type of the property at the specified P
path.
• T
• P