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

Type Alias: SpecKey<E, S> ​

SpecKey<E, S> = E extends readonly [infer K, ServiceKey] ? K : E extends keyof S ? E : never

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

The service key behind a KeySpec.

Type Parameters ​

E ​

E

S ​

S

Released under the MIT License.