Metakit / @doeixd/metakit/machine
Held
type · packages/metakit/src/machinePhaseTypes.ts:44
type Held<P, N> = P extends string
? Extract<P, N>
: P extends {
readonly _tag: N
}
? P
: neverWhat a field holding P holds in the phases named N: those literals, or those variants.
In the guides
- Discharge an obligation with a walkMetakit / What a proof of one step cannot check