Type Alias: SignalFieldSpec
ts
type SignalFieldSpec =
| SignalValue
| (() => unknown)
| SignalFieldOptions;One field in provideSignal(...):
- a JSON value → writable cell initialized to it (type inferred);
() => value→ read-only getter (type sampled once);- options object → explicit control.
