Type Alias PropertiesNotOfType<O, T>
PropertiesNotOfType<O, T>: keyof { [Property in keyof O as [T] extends [never] ? [NonNullable<O[Property]>] extends [never] ? never : Property : [NonNullable<O[Property]>] extends [never] ? NonNullable<O[Property]> extends T ? Property : never : never]: never} & string
Returns the properties of
object
O
with types that do not extend typeT
. Ignoresundefined
types.