diff --git a/index.d.ts b/index.d.ts index b428eea..ab2073d 100644 --- a/index.d.ts +++ b/index.d.ts @@ -17,7 +17,7 @@ export interface Store { getState(): K; } -export function createStore(state?: K): Store; +export default function createStore(state?: K): Store; export type ActionFn = (state: K) => object;