diff --git a/src/heliaFetch.ts b/src/heliaFetch.ts index 3d2197a..707acd3 100644 --- a/src/heliaFetch.ts +++ b/src/heliaFetch.ts @@ -70,7 +70,7 @@ export class HeliaFetch { peerId: this.node.libp2p.peerId, services: { // mismatch types - pubsub: this.node.libp2p.services.pubsub + pubsub: this.node.libp2p.services.pubsub as Parameters[0]['libp2p']['services']['pubsub'] } } })