fix: types from ipfs integration (#832)

This commit is contained in:
Vasco Santos
2020-12-11 17:53:37 +01:00
committed by Vasco Santos
parent 408868655c
commit 9ae1b758e9
4 changed files with 66 additions and 35 deletions

View File

@ -73,7 +73,7 @@ class PeerRouting {
/**
* Iterates over all peer routers in series to find the given peer.
*
* @param {string} id - The id of the peer to find
* @param {PeerId} id - The id of the peer to find
* @param {object} [options]
* @param {number} [options.timeout] - How long the query should run
* @returns {Promise<{ id: PeerId, multiaddrs: Multiaddr[] }>}