ReadOnlyStateManager
Overview
Type: type
A utility type for State Managers that allows TypeScript to treat it as read-only.
type ReadOnlyStateManager<State> = Pick<SimpleStateManager<State>, 'get' | 'watch' | 'wait'>
Type: type
A utility type for State Managers that allows TypeScript to treat it as read-only.
type ReadOnlyStateManager<State> = Pick<SimpleStateManager<State>, 'get' | 'watch' | 'wait'>