Skip to content

This site describes solve-engine 2.44.0, the version npm installs.

WorkerWhatIfOverrides

type WorkerWhatIfOverrides = Readonly<Record<string, number | string>>;

Defined in: packages/engine/src/worker/protocol.ts:46

A what-if’s overrides as they cross the boundary: each a finite number, or text the worker evaluates on its own ("$120", "5%"). A Value cannot cross postMessage with its type intact, so its text form is sent instead.