Type alias StateCreatorWithDevtools<T, CustomSetState, CustomGetState, CustomStoreApi>
StateCreatorWithDevtools<T, CustomSetState, CustomGetState, CustomStoreApi>: ((set, get, api) => T)
Type Parameters
CustomSetState = NamedSet<T>
CustomGetState = GetState<T>
CustomStoreApi extends RawStoreApi<T> = RawStoreApi<T>
Type declaration
- (set, get, api): T
Parameters
set: CustomSetState
get: CustomGetState
api: CustomStoreApi
Returns T