Skip to main content

Type Alias: Meta<R *extends* Registry, C *extends* Code<R>>

The meta shape a code carries, looked up straight from the registry's own value for it.

Meta<R extends Registry, C extends Code<R>> = MetaOf<R[C]>

Defined in: kit.ts:19

The meta shape a code carries, looked up straight from the registry's own value for it.

Type Parameters

R

R extends Registry

C

C extends Code<R>

Example

type WidgetMeta = ErrorKit.Meta<typeof REGISTRY, 'WIDGET_NOT_FOUND'> // { widgetId: string }