chore: apply suggestions from code review

This commit is contained in:
Vasco Santos
2020-07-17 14:00:59 +02:00
committed by Jacob Heun
parent 15613ccf19
commit f574e82a5d
15 changed files with 75 additions and 68 deletions

View File

@ -38,7 +38,7 @@ class PeerStore extends EventEmitter {
/**
* @constructor
*/
constructor ({ peerId } = {}) {
constructor ({ peerId }) {
super()
this._peerId = peerId