Common type

Return intersect type of 2 types

type Common<A, B> = Pick<A, CommonProperties<A, B>>