ValueOf<T>: T[keyof T]

Type Parameters

  • T

Description

Creates a type that extracts the values of T.

Example

ValueOf<{ a: string, b: number }>
=> string | number

Generated using TypeDoc