Skip to content

Commit

Permalink
Merge pull request #2750 from adamhari/export-toolkitstore-interface-…
Browse files Browse the repository at this point in the history
…from-configurestore
  • Loading branch information
markerikson authored Oct 6, 2022
2 parents fcabc7d + 6fa17c6 commit 659561a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/toolkit/src/configureStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export interface ConfigureStoreOptions<
* function (either directly or indirectly by passing an object as `reducer`),
* this must be an object with the same shape as the reducer map keys.
*/
/*
/*
Not 100% correct but the best approximation we can get:
- if S is a `CombinedState` applying a second `CombinedState` on it does not change anything.
- if it is not, there could be two cases:
Expand All @@ -104,7 +104,7 @@ type Middlewares<S> = ReadonlyArray<Middleware<{}, S>>

type Enhancers = ReadonlyArray<StoreEnhancer>

interface ToolkitStore<
export interface ToolkitStore<
S = any,
A extends Action = AnyAction,
M extends Middlewares<S> = Middlewares<S>,
Expand Down

0 comments on commit 659561a

Please sign in to comment.