Type alias SelectorBuilder<TName, T, TActions, TSelectors>
SelectorBuilder<TName, T, TActions, TSelectors>: ((state, get, api) => Record<string, ((...args) => any)>)
Type Parameters
TName extends string
TActions = {}
TSelectors = {}
Type declaration
- (state, get, api): Record<string, ((...args) => any)>
Parameters
state: T
api: StoreApi<TName, T, TActions, TSelectors>
Returns Record<string, ((...args) => any)>