Skip to content

Commit

Permalink
fix: pubsub type
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtPooki committed Oct 11, 2023
1 parent 118f91f commit a8efc0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/heliaFetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<typeof pubsub>[0]['libp2p']['services']['pubsub']
}
}
})
Expand Down

0 comments on commit a8efc0b

Please sign in to comment.