Type Alias U<O, K, V>

U: Omit<O, K> & Record<K, V>

utility type for replacing keys with new value

Type Parameters

  • O
  • K extends keyof O
  • V