src/context/storeContext/walletContext.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { createContext } from 'react'
import type { ReactReduxContextValue } from 'react-redux'
import type { AppState } from 'domain/wallet/store/appState'
import type { Context } from 'react'

export const WalletContext = createContext(null) as unknown as Context<
  // Need any type for Action to allow Redux to dispatch async Thunks
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
  ReactReduxContextValue<AppState, any>
>