Type Alias ExcludePropType<T, U>

ExcludePropType<T, U>: {
    [k in keyof T]: Exclude<T[k], U>
}

Exclude type U from properties in T.

Type Parameters

  • T extends Record<keyof any, any>
  • U