Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed Dec 10, 2020
1 parent c4bb3fa commit 671ba33
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/circuit/circuit/stream-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class StreamHandler {
}

/**
* @param {CircuitMessage} msg
* @param {CircuitMessage} msg
*/
end (msg) {
this.write(msg)
Expand Down
1 change: 0 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ export interface CircuitMessageProto extends MessageProto<CircuitMessage> {
}
}


export type Exchange = {
id: Uint8Array
pubkey: PublicKey
Expand Down
3 changes: 1 addition & 2 deletions src/upgrader.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,8 @@ class Upgrader {
}) {
let muxer
let newStream
// eslint-disable-next-line prefer-const
/** @type {Connection} */
let connection
let connection // eslint-disable-line prefer-const

if (Muxer) {
// Create the muxer
Expand Down

0 comments on commit 671ba33

Please sign in to comment.