For example, this works as I expected: Playground #1
const f = ( arg: { [K in keyof A]: A[K] } ) =>