import { connectAs , Store , StoreDefinition } from '../' ; import { Diff } from '../utils' ; deprecated export function connect < StoreState extends object > ( store ) { return connectAs ( { store } as any ) as any ; }