Inferable
Create a type that infers the value of a key from an object.
Signature
type Inferable<T, K extends string, D = unknown> = T extends { [key in K]: infer R;} ? R : D;Members
This export does not declare public properties or methods in the generated declaration file.