/** * Omit the keys of `T` from `NewT` and then intersect the result with `NewT`. * * @link https://stackoverflow.com/a/72952688 * @link https://stackoverflow.com/a/55032655 */ export type Overwrite = Omit & NewT;