@@ -498,6 +498,7 @@ declare module '@reduxjs/toolkit' {
498498 State ,
499499 CaseReducers extends CreatorCaseReducers <State >,
500500 Name extends string ,
501+ ReducerPath extends string ,
501502 > {
502503 [reducerCreatorType ]: ReducerCreatorEntry <
503504 () => ReducerDefinition <typeof reducerCreatorType >
@@ -538,6 +539,7 @@ declare module '@reduxjs/toolkit' {
538539 State ,
539540 CaseReducers extends CreatorCaseReducers <State >,
540541 Name extends string ,
542+ ReducerPath extends string ,
541543 > {
542544 [batchedCreatorType ]: ReducerCreatorEntry <
543545 <Payload >(
@@ -576,6 +578,7 @@ declare module '@reduxjs/toolkit' {
576578 State ,
577579 CaseReducers extends CreatorCaseReducers <State >,
578580 Name extends string ,
581+ ReducerPath extends string ,
579582 > {
580583 [loaderCreatorType ]: ReducerCreatorEntry <
581584 // highlight-next-line
@@ -602,6 +605,7 @@ declare module '@reduxjs/toolkit' {
602605 State ,
603606 CaseReducers extends CreatorCaseReducers <State >,
604607 Name extends string ,
608+ ReducerPath extends string ,
605609 > {
606610 [loaderCreatorType ]: ReducerCreatorEntry <
607611 () => {
@@ -643,6 +647,7 @@ declare module '@reduxjs/toolkit' {
643647 State ,
644648 CaseReducers extends CreatorCaseReducers <State >,
645649 Name extends string ,
650+ ReducerPath extends string ,
646651 > {
647652 [asyncThunkCreatorType ]: ReducerCreatorEntry <
648653 <ThunkArg , Returned >(
@@ -680,6 +685,7 @@ declare module '@reduxjs/toolkit' {
680685 State ,
681686 CaseReducers extends CreatorCaseReducers <State >,
682687 Name extends string ,
688+ ReducerPath extends string ,
683689 > {
684690 [preparedReducerType ]: ReducerCreatorEntry <
685691 <Prepare extends PrepareAction <any >>(
@@ -790,6 +796,7 @@ declare module '@reduxjs/toolkit' {
790796 State ,
791797 CaseReducers extends CreatorCaseReducers <State >,
792798 Name extends string ,
799+ ReducerPath extends string ,
793800 > {
794801 [toastCreatorType ]: ReducerCreatorEntry <
795802 (config : ToastReducerConfig <State >) => ToastReducerDefinition <State >,
@@ -914,6 +921,7 @@ declare module '@reduxjs/toolkit' {
914921 State ,
915922 CaseReducers extends CreatorCaseReducers <State >,
916923 Name extends string ,
924+ ReducerPath extends string ,
917925 > {
918926 [paginationCreatorType ]: ReducerCreatorEntry <
919927 // make sure the creator is only called when state is compatible
@@ -984,6 +992,7 @@ declare module '@reduxjs/toolkit' {
984992 State ,
985993 CaseReducers extends CreatorCaseReducers <State >,
986994 Name extends string ,
995+ ReducerPath extends string ,
987996 > {
988997 [historyCreatorType ]: ReducerCreatorEntry <
989998 // make sure the creator is only called when state is compatibleState extends HistoryState<unknown>
@@ -1097,6 +1106,7 @@ declare module '@reduxjs/toolkit' {
10971106 State ,
10981107 CaseReducers extends CreatorCaseReducers <State >,
10991108 Name extends string ,
1109+ ReducerPath extends string ,
11001110 > {
11011111 [undoableCreatorType ]: ReducerCreatorEntry <
11021112 State extends HistoryState <infer Data >
0 commit comments