Get in O the type of a field of key K
O
K
to extract from
keyof to extract at
keyof
any
import {O} from 'ts-toolbelt' type User = { info: { name: string age: number payment: {} } id: number } type test0 = O.At<User, 'id'> // number
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.
Get in
O
the type of a field of keyK