Documents injecute 1.x · Migrating from 0.x
Skip to content

Type Alias: ExposedName<E, S> ​

ExposedName<E, S> = E extends readonly [keyof S, infer N] ? N : E extends keyof S ? E : never

Defined in: src/utils/keys.ts:7

The exposed name of a KeySpec.

Type Parameters ​

E ​

E

S ​

S

Released under the MIT License.