Skip to content

Commit 8f4cd39

Browse files
committed
unnecessary type params
1 parent de89335 commit 8f4cd39

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/hooks/useStore.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import { useContext } from 'react'
2-
import { Action, AnyAction, Store } from 'redux'
32
import { ReactReduxContext } from '../components/Context'
4-
import type { FixTypeLater } from '../types'
53
import { useReduxContext as useDefaultReduxContext } from './useReduxContext'
64

75
/**
@@ -11,7 +9,7 @@ import { useReduxContext as useDefaultReduxContext } from './useReduxContext'
119
* @returns {Function} A `useStore` hook bound to the specified context.
1210
*/
1311

14-
export function createStoreHook<S = FixTypeLater, A extends Action = AnyAction>(context = ReactReduxContext) {
12+
export function createStoreHook(context = ReactReduxContext) {
1513
const useReduxContext =
1614
context === ReactReduxContext
1715
? useDefaultReduxContext

0 commit comments

Comments
 (0)