1/** replace a key with a different type */ 2export type Replace<T, K extends keyof T, U> = Omit<T, K> & Record<K, U>;