Type Alias ExclusiveKey<K, M, R>Protected
ExclusiveKey<K, M, R>: keyof { [E in keyof Exactify<M> as K extends keyof Exactify<M[E]> | R ? K : never]: never } extends never ? K : never Type Parameters
- K extends string
- M extends EntityMap
- R extends string = never
Tests a string literal type to determine whether it is a key of any
Entity
in anEntityMap
or is a member of a union of reserved keys.