You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 26, 2023. It is now read-only.
After installing libp2p-pubsub v0.7.0 and libp2p-interfaces v2.0.0
and adding this line:
import{PubsubBaseProtocol}from'libp2p-pubsub'
I get the following error in my IDE:
Could not find a declaration file for module 'libp2p-pubsub'. '/home/cayman/Code/js-libp2p-gossipsub/node_modules/libp2p-pubsub/dist/src/index.js' implicitly has an 'any' type.
Also tried starting a new project and installing just those two packages, same error.
The text was updated successfully, but these errors were encountered:
libp2p-pubsub is not ready for use yet, it needs more of the ecosystem porting to TS - please stick with the PubSub base class defined in [email protected] for now.
Trying to update js-libp2p-gossipsub (tracking issue ChainSafe/js-libp2p-gossipsub#171)
After installing
libp2p-pubsub
v0.7.0 andlibp2p-interfaces
v2.0.0and adding this line:
I get the following error in my IDE:
Also tried starting a new project and installing just those two packages, same error.
The text was updated successfully, but these errors were encountered: