Skip to content

Commit

Permalink
Update ws-provider types tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cgewecke committed Jan 23, 2020
1 parent 83b6ba2 commit 1c605ab
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/web3-providers-ws/types/tests/web3-provider-ws-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,21 @@ wsProvider.connected;
// $ExpectType void
wsProvider.disconnect(100, 'reason');

// $ExpectType any
wsProvider.responseCallbacks;
// $ExpectType void
wsProvider.reconnect();

// $ExpectType any
wsProvider.notificationCallbacks;
// $ExpectType Map<string, RequestItem>
wsProvider.requestQueue;

// $ExpectType Map<string, RequestItem>
wsProvider.responseQueue;

// $ExpectType any
wsProvider.connection;

// $ExpectType boolean
wsProvider.connected;

// $ExpectType void
wsProvider.addDefaultEvents();

// $ExpectType boolean
wsProvider.supportsSubscriptions();

Expand Down

0 comments on commit 1c605ab

Please sign in to comment.