S with key K set to V (replacing any previous type of K). A non-literal key
(K = string) cannot be tracked, so S is returned unchanged — the value stays reachable
as unknown through the open index signature of FlowControls.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Type alias exported by @botmesh/core.
type FlowStateWith<S, K, V> = string extends K ? S : { [P in keyof S | K]: P extends K ? V : P extends keyof S ? S[P] : never };
S with key K set to V (replacing any previous type of K). A non-literal key
(K = string) cannot be tracked, so S is returned unchanged — the value stays reachable
as unknown through the open index signature of FlowControls.