diff --git a/types/index.d.ts b/types/index.d.ts index e7915d1..10894d5 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -184,9 +184,9 @@ declare module 'react-sweet-state' { /** * createStore */ - + function createStore< - TState extends object, + TState extends Record, TActions extends Record>, TContainerProps = unknown >(