Skip to content

Commit 94b7945

Browse files
committed
Allow partial preloaded state for combined slice reducer
1 parent 6231891 commit 94b7945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolkit/src/combineSlices.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export type InjectConfig = {
5656
export interface CombinedSliceReducer<
5757
InitialState,
5858
DeclaredState = InitialState
59-
> extends Reducer<DeclaredState, AnyAction> {
59+
> extends Reducer<DeclaredState, AnyAction, Partial<DeclaredState>> {
6060
/**
6161
* Provide a type for slices that will be injected lazily.
6262
*

0 commit comments

Comments
 (0)