Skip to content

Commit

Permalink
Merge pull request reduxjs#1806 from raineorshine/patch-1
Browse files Browse the repository at this point in the history
preloadedState is optional
  • Loading branch information
aikoven authored Jun 20, 2016
2 parents 4b63737 + 7e650ad commit cefb03a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export interface StoreCreator {
*/
export type StoreEnhancer<S> = (next: StoreEnhancerStoreCreator<S>) => StoreEnhancerStoreCreator<S>;
export type GenericStoreEnhancer = <S>(next: StoreEnhancerStoreCreator<S>) => StoreEnhancerStoreCreator<S>;
export type StoreEnhancerStoreCreator<S> = (reducer: Reducer<S>, preloadedState: S) => Store<S>;
export type StoreEnhancerStoreCreator<S> = (reducer: Reducer<S>, preloadedState?: S) => Store<S>;

/**
* Creates a Redux store that holds the state tree.
Expand Down

0 comments on commit cefb03a

Please sign in to comment.