Skip to content

Commit

Permalink
TS: Fix missing default export
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Dec 23, 2017
1 parent be40a52 commit 3d70162
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 @@ -17,7 +17,7 @@ export interface Store<K> {
getState(): K;
}

export function createStore<K>(state?: K): Store<K>;
export default function createStore<K>(state?: K): Store<K>;

export type ActionFn<K> = (state: K) => object;

Expand Down

0 comments on commit 3d70162

Please sign in to comment.