Skip to content

Commit 659561a

Browse files
authored
Merge pull request #2750 from adamhari/export-toolkitstore-interface-from-configurestore
2 parents fcabc7d + 6fa17c6 commit 659561a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/toolkit/src/configureStore.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export interface ConfigureStoreOptions<
7878
* function (either directly or indirectly by passing an object as `reducer`),
7979
* this must be an object with the same shape as the reducer map keys.
8080
*/
81-
/*
81+
/*
8282
Not 100% correct but the best approximation we can get:
8383
- if S is a `CombinedState` applying a second `CombinedState` on it does not change anything.
8484
- if it is not, there could be two cases:
@@ -104,7 +104,7 @@ type Middlewares<S> = ReadonlyArray<Middleware<{}, S>>
104104

105105
type Enhancers = ReadonlyArray<StoreEnhancer>
106106

107-
interface ToolkitStore<
107+
export interface ToolkitStore<
108108
S = any,
109109
A extends Action = AnyAction,
110110
M extends Middlewares<S> = Middlewares<S>,

0 commit comments

Comments
 (0)