/** * @internal * * Checks that A and B extend each other. */ export type Exact = [A] extends [B] ? ([B] extends [A] ? true : false) : false;