Skip to content

Commit

Permalink
Tweak callback type definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
platfowner committed Jul 18, 2024
1 parent f42c5d3 commit f03e502
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -497,9 +497,9 @@ export type FilterDeletedEventCallback = (event: FilterDeletedEvent) => void;
/**
* A type for connection callback functions (blockchain event handler).
*/
export type ConnectionCallback = (webSocket) => void;
export type ConnectionCallback = (webSocket: any) => void;

/**
* A type for disconnection callback functions (blockchain event handler).
*/
export type DisconnectionCallback = (webSocket) => void;
export type DisconnectionCallback = (webSocket: any) => void;

0 comments on commit f03e502

Please sign in to comment.