diff --git a/src/buildCreateStore/index.ts b/src/buildCreateStore/index.ts index 650c448..981fac3 100644 --- a/src/buildCreateStore/index.ts +++ b/src/buildCreateStore/index.ts @@ -3,12 +3,13 @@ import { applyMiddleware, Middleware, Reducer, + PreloadedState } from 'redux'; import { ActionCreator, Dictionary } from '../types'; function buildCreateStore( reducer: Reducer, - initial: S, + initial: PreloadedState, middleware: Middleware, actions: Dictionary, ) {