Get the specified value from T.
Signature:
export type Get<T, K extends Keys<T>> = T[K]References: Keys
interface Props {
a?: number
b: string
c: boolean
}
// Expect: number | string | undefined
type PropValues = Get<Props, 'a' | 'b'>