Commit 3af4e7a
authored
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.1 parent a39115c commit 3af4e7a
File tree
6 files changed
+1984
-2296
lines changed- src
- test
- utils
6 files changed
+1984
-2296
lines changed
0 commit comments