Type Alias: JsonValue
ts
type JsonValue =
| string
| number
| boolean
| null
| JsonValue[]
| {
[key: string]: JsonValue;
};A JSON-serializable value — the only constraint the wire puts on a component's state.