@@ -38,7 +38,7 @@ export interface CreateStore<S extends AnyState> {
3838 setStoreUpdater ?: (
3939 setState : ( state : S ) => void ,
4040 getState : ( ) => S ,
41- getInitialState ?: ( ) => S
41+ getInitialState ?: ( ) => S ,
4242 ) => {
4343 updateMdw : BaseMiddleware < UpdaterCtx < S > > ;
4444 initializeStore : Callable < any > ;
@@ -49,7 +49,7 @@ export const IdContext = createContext("starfx:id", 0);
4949
5050const defaultStoreUpdater = < S extends AnyState , T > (
5151 setState : ( state : S ) => void ,
52- getState : ( ) => S
52+ getState : ( ) => S ,
5353) => {
5454 enablePatches ( ) ;
5555
@@ -146,7 +146,7 @@ export function createStore<S extends AnyState, T>({
146146 const { updateMdw, initializeStore } = setStoreUpdater (
147147 setState ,
148148 getState ,
149- getInitialState
149+ getInitialState ,
150150 ) ;
151151 function createUpdater ( ) {
152152 const fn = compose < UpdaterCtx < S > > ( [
@@ -187,7 +187,7 @@ export function createStore<S extends AnyState, T>({
187187 acc [ key ] = s [ key ] ;
188188 return acc ;
189189 } ,
190- { ...initialState }
190+ { ...initialState } ,
191191 ) ;
192192
193193 Object . keys ( s ) . forEach ( ( key : keyof S ) => {
@@ -219,7 +219,7 @@ export function createStore<S extends AnyState, T>({
219219 dispatch,
220220 // stubs so `react-redux` is happy
221221 replaceReducer < S = any > (
222- _nextReducer : ( _s : S , _a : AnyAction ) => void
222+ _nextReducer : ( _s : S , _a : AnyAction ) => void ,
223223 ) : void {
224224 throw new Error ( stubMsg ) ;
225225 } ,
0 commit comments