Common type
Return intersect type of 2 types
type Common<A, B> = Pick<A, CommonProperties<A, B>>
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Return intersect type of 2 types
type Common<A, B> = Pick<A, CommonProperties<A, B>>