Skip to main content

Type Alias: RepairOption

RepairOption = { kind: "allowed-values"; path: string; values: ReadonlyArray<string | number>; } | { kind: "set-value"; label?: string; path: string; value: unknown; }

Defined in: spec/result.ts:89

A concrete, already-known alternative attached to an issue when — and only when — the check site already has the correct value in hand. values for allowed-values and value for set-value must never be invented.