Skip to content

Commit

Permalink
fix: state is a PreloadedState<S>
Browse files Browse the repository at this point in the history
  • Loading branch information
yanick committed Jan 31, 2020
1 parent fe34d01 commit 93bebc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/buildCreateStore/index.ts
Expand Up @@ -3,12 +3,13 @@ import {
applyMiddleware,
Middleware,
Reducer,
PreloadedState
} from 'redux';
import { ActionCreator, Dictionary } from '../types';

function buildCreateStore<S>(
reducer: Reducer<S>,
initial: S,
initial: PreloadedState<S>,
middleware: Middleware,
actions: Dictionary<ActionCreator>,
) {
Expand Down

0 comments on commit 93bebc5

Please sign in to comment.