/** * Intersects two types */ export type With = T extends undefined ? W : W & T;