ValueOf
ValueOf<T> = T[keyof T]Source: common.ts:347
Value type of a record/object
Type Parameters
T— Object type
Example
CODE
type Config = { port: number; host: string; debug: boolean }
type ConfigValue = ValueOf<Config> // number | string | boolean