SetStateAction
SetStateAction<
S> =S| (previousValue) =>S
Defined in: packages/@livestore/react/src/useClientDocument.ts:172
A state update that can be either a full value or a function returning a full value.
Mirrors React’s SetStateAction type.
Type Parameters
Section titled “Type Parameters”S
The state type