Skip to content

VocabularyInputs

VocabularyInputs<T> = IsVocabularyBag<T> extends true ? T extends object ? I : InputMap : T extends infer M ? M : InputMap

Defined in: types.ts:427

The input map a curried slot resolves to: the bare map itself, a bag’s inputs member, or the wide InputMap when a bag declares no inputs.

Both branches re-check the map against InputMapLike through an infer constraint so the result carries its own proof. The factories still cannot hand a deferred VocabularyInputs<TVocab> to a constrained position while TVocab is unresolved; see CurriedFsmFactory in fsm.ts for where that proof is completed.

T