Type alias NoExtraProperties<T, U>

NoExtraProperties<T, U>: U & Impossible<Exclude<keyof U, keyof T>>

Type Parameters

  • T

  • U extends T = T