Another solution that is especially useful for getting the types of multiple properties is using Pick:
type A = Pick<T, 'prop1' | 'prop2'>
The above is equivalent to:
type A = { prop1: T['prop1'], prop2: T['prop2'] }