FactValue is `unknown` in @paratype/rete, so `value as unknown as FactValue` was `unknown` → `unknown` → `unknown` — zero type narrowing, just noise. The stale comment also claimed FactValue was `string | number | boolean | null` (it isn't, and hasn't been for a while). Pass value directly; update the comment to reflect actual serialization responsibility (caller ensures JSON-round-trippable for event-log replay). |
||
|---|---|---|
| .. | ||
| chess | ||
| rete | ||
| server | ||