Skip to content

Commit

Permalink
remove overload
Browse files Browse the repository at this point in the history
  • Loading branch information
takefumi-yoshii committed Feb 5, 2020
1 parent ce3a36d commit 2a99b26
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/store/index.ts
Expand Up @@ -7,10 +7,6 @@ import { Actions } from './actions'
//
declare module 'react-redux' {
interface DefaultRootState extends StoreState {}
export function useSelector<
S extends (state: DefaultRootState) => unknown,
R = ReturnType<S>
>(selector: S, equalityFn?: (left: R, right: R) => boolean): R
export function useDispatch<TDispatch = Dispatch<Actions>>(): TDispatch
export function useStore<S = DefaultRootState>(): Store<S, Actions>
}
Expand Down

0 comments on commit 2a99b26

Please sign in to comment.