Type alias ExcludeFromK<T, K>

ExcludeFromK<T, K>: {
    [F in keyof T as Exclude<F, K>]: T[F]
}

Excludes from K, fields that are assignable to T.

Type Parameters

  • T

    object type to exclude key from

  • K extends keyof T

    key type to be excluded.

Generated using TypeDoc