diff --git a/index.d.ts b/index.d.ts index 97aee74..2ace657 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;