From 3127f9a222267c04121bc8042cd9ac2a08c15de3 Mon Sep 17 00:00:00 2001 From: Mike Grabowski Date: Wed, 5 Apr 2023 21:05:32 +0400 Subject: [PATCH] chore: add implements (#794) --- packages/eip1193/src/index.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/eip1193/src/index.spec.ts b/packages/eip1193/src/index.spec.ts index f02d1f0..2aebe91 100644 --- a/packages/eip1193/src/index.spec.ts +++ b/packages/eip1193/src/index.spec.ts @@ -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')