moderator-toolbox-nxg-for-reddit / store
store¶
Type Aliases¶
AppDispatch¶
AppDispatch = typeof
store.dispatch
Defined in: extension/data/store/index.ts:47
Typed dispatch function for the Toolbox store.
AppThunk¶
AppThunk<
ReturnType> =ThunkAction<ReturnType,RootState,unknown,UnknownAction>
Defined in: extension/data/store/index.ts:49
Typed thunk action creator helper.
Type Parameters¶
ReturnType¶
ReturnType = void
RootState¶
RootState =
ReturnType<typeofrootReducer>
Defined in: extension/data/store/index.ts:45
The combined state type for all Toolbox reducers.
Variables¶
default¶
constdefault:EnhancedStore<{contextMenu:ContextMenuState;settings:SettingsState;spinner:SpinnerState;textFeedback:TextFeedbackState; },UnknownAction,Tuple<[StoreEnhancer<{dispatch: (action) =>UnsubscribeListener&ThunkDispatch<{contextMenu:ContextMenuState;settings:SettingsState;spinner:SpinnerState;textFeedback:TextFeedbackState; },undefined,UnknownAction>; }>,StoreEnhancer]>>
Defined in: extension/data/store/index.ts:24