File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -583,14 +583,6 @@ interface BuildCreateSliceConfig {
583
583
}
584
584
}
585
585
586
- /**
587
- * A function that accepts an initial state, an object full of reducer
588
- * functions, and a "slice name", and automatically generates
589
- * action creators and action types that correspond to the
590
- * reducers and state.
591
- *
592
- * @public
593
- */
594
586
export function buildCreateSlice ( { creators } : BuildCreateSliceConfig = { } ) {
595
587
const cAT = creators ?. asyncThunk ?. [ asyncThunkSymbol ]
596
588
return function createSlice <
@@ -787,6 +779,14 @@ export function buildCreateSlice({ creators }: BuildCreateSliceConfig = {}) {
787
779
}
788
780
}
789
781
782
+ /**
783
+ * A function that accepts an initial state, an object full of reducer
784
+ * functions, and a "slice name", and automatically generates
785
+ * action creators and action types that correspond to the
786
+ * reducers and state.
787
+ *
788
+ * @public
789
+ */
790
790
export const createSlice = buildCreateSlice ( )
791
791
792
792
interface ReducerHandlingContext < State > {
You can’t perform that action at this time.
0 commit comments