Skip to content

Commit

Permalink
Add @ts-expect-error for typing inconsistency with upstream repo `@…
Browse files Browse the repository at this point in the history
…metamask/eth-query`
  • Loading branch information
MajorLift authored Oct 11, 2023
1 parent 7b176aa commit 6a4ab9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/json-rpc-provider-types.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { expectAssignable, expectNotAssignable } from 'tsd';
import type { JsonRpcRequest, LegacyEthereumProvider } from '.';

// Known legacy providers
// @ts-expect-error TODO: align `EverythingButNull` type in `@metamask/eth-query`
expectAssignable<LegacyEthereumProvider>(new EthQuery({} as any));
expectAssignable<LegacyEthereumProvider>(new Web3Provider({} as any));
expectAssignable<LegacyEthereumProvider>({
Expand Down

0 comments on commit 6a4ab9b

Please sign in to comment.