export type Only = {[P in keyof T]: T[P]} & Omit< {[P in keyof U]?: never}, keyof T >; export type Either = Only | Only;