import { connectAs, Store, StoreDefinition } from '../' import { Diff } from '../utils' /** * @deprecated Use `createConnectedStore` instead. */ export function connect( store: StoreDefinition ): < Props, PropsWithStore extends { store: Store } & Props = { store: Store } & Props >( Component: React.ComponentType ) => React.ComponentClass }>> { return connectAs({ store } as any) as any }