File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -227,6 +227,9 @@ export interface ReducerHandlingContext<State> {
227
227
) : ReducerHandlingContext < State >
228
228
/**
229
229
* Add an action to be exposed under the final `slice.actions[reducerName]` key.
230
+ *
231
+ * Should only be called once per handler.
232
+ *
230
233
* @param actionCreator The action to expose.
231
234
* @example
232
235
* context.exposeAction(createAction<Post>(type));
@@ -238,6 +241,9 @@ export interface ReducerHandlingContext<State> {
238
241
exposeAction ( actionCreator : unknown ) : ReducerHandlingContext < State >
239
242
/**
240
243
* Add a case reducer to be exposed under the final `slice.caseReducers[reducerName]` key.
244
+ *
245
+ * Should only be called once per handler.
246
+ *
241
247
* @param reducer The reducer to expose.
242
248
* @example
243
249
* context.exposeCaseReducer((state, action: PayloadAction<Post>) => {
You can’t perform that action at this time.
0 commit comments