
// 该方法纯粹只是个Ts类型定义文件
import type { TypedUseSelectorHook } from 'react-redux'
import { useSelector as useReduxSelector } from 'react-redux'
import type { DataParam } from './userInfo'
import type { DataParam as commonDataParam } from './commonData'

interface Params {
  userInfo: DataParam
  commonData: commonDataParam
}
export const useSelector: TypedUseSelectorHook<Params> = useReduxSelector
