Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use typed event emitter class (#470)
fix: use typed event emitter classes The typed `EventEmitter` class from `@libp2p/interface/events` has been renamed `TypedEventEmitter` along with a `TypedEventTarget` interface. The old name is still exported so it's a backwards compatible change but it will be removed in a future version of `@libp2p/interface` so this change future-proofs `@chainsafe/libp2p-gossipsub` against that upcoming release.
- Loading branch information