Skip to content

Commit

Permalink
Allow partial preloaded state for combined slice reducer
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Apr 18, 2023
1 parent 6231891 commit 94b7945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/toolkit/src/combineSlices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export type InjectConfig = {
export interface CombinedSliceReducer<
InitialState,
DeclaredState = InitialState
> extends Reducer<DeclaredState, AnyAction> {
> extends Reducer<DeclaredState, AnyAction, Partial<DeclaredState>> {
/**
* Provide a type for slices that will be injected lazily.
*
Expand Down

0 comments on commit 94b7945

Please sign in to comment.