Skip to main content

Type Alias: Code<R *extends* Registry>

Every key of a registry, narrowed to string: the set of codes a kit's methods accept.

Code<R extends Registry> = keyof R & string

Defined in: kit.ts:10

Every key of a registry, narrowed to string: the set of codes a kit's methods accept.

Type Parameters

R

R extends Registry