TypeScript value of Interface

type ValueOf<T> = T[keyof T];
Determined Dotterel