Skip to content

Commit

Permalink
Include types for Protocol class variables
Browse files Browse the repository at this point in the history
  • Loading branch information
scorbajio committed Jan 22, 2022
1 parent 4577dfa commit c503ee0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/devp2p/src/protocol/protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import { Peer, DISCONNECT_REASONS } from '../rlpx/peer'
export class Protocol extends EventEmitter {
_peer: Peer
_statusTimeoutId: NodeJS.Timeout
_messageCodes: any
_debug: any
_verbose: any
_messageCodes: { [key: string : number }
_debug: createDebugLogger
_verbose: boolean

/**
* Will be set to the first successfully connected peer to allow for
Expand Down

0 comments on commit c503ee0

Please sign in to comment.