Skip to content

Commit

Permalink
chore: add implements (#794)
Browse files Browse the repository at this point in the history
  • Loading branch information
grabbou authored Apr 5, 2023
1 parent 98eb5a2 commit 3127f9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/eip1193/src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { Eip1193Bridge } from '@ethersproject/experimental'
import { Web3Provider } from '@ethersproject/providers'
import { createWeb3ReactStoreAndActions } from '@web3-react/store'
import { MockEIP1193Provider } from '@web3-react/core'
import type { Actions, Web3ReactStore } from '@web3-react/types'
import type { Actions, Web3ReactStore, ProviderRpcError } from '@web3-react/types'
import { EIP1193 } from '.'

class MockProviderRpcError extends Error {
class MockProviderRpcError extends Error implements ProviderRpcError {
public code: number
constructor() {
super('Mock Provider RPC Error')
Expand Down

0 comments on commit 3127f9a

Please sign in to comment.