Type alias KeysNotMatching<T, V>

KeysNotMatching<T, V>: {
    [K in keyof T]: T[K] extends V
        ? never
        : K
}[keyof T]

Get the keys of the given type where the value doesn't match the given argument.

Type Parameters

  • T

  • V

Generated using TypeDoc