Skip to content

Commit 6816c1a

Browse files
author
ben.durrant
committed
remove constraint on lazy
1 parent bccf47f commit 6816c1a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/toolkit/src/combineSlices.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,10 @@ export interface CombinedSliceReducer<
126126
* const withCustom = rootReducer.inject({ name: "customName", reducer: customSlice.reducer })
127127
* ```
128128
*/
129-
withLazyLoadedSlices<
130-
Lazy extends Record<string, unknown> = {}
131-
>(): CombinedSliceReducer<InitialState, Id<DeclaredState & Partial<Lazy>>>
129+
withLazyLoadedSlices<Lazy = {}>(): CombinedSliceReducer<
130+
InitialState,
131+
Id<DeclaredState & Partial<Lazy>>
132+
>
132133

133134
/**
134135
* Inject an RTKQ API instance.

0 commit comments

Comments
 (0)