Skip to content

Commit cba25c8

Browse files
committed
chore: remove ts ignore from add stream
1 parent e014fee commit cba25c8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: src/upgrader.js

-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ class Upgrader {
231231
const { stream, protocol } = await mss.handle(Array.from(this.protocols.keys()))
232232
log('%s: incoming stream opened on %s', direction, protocol)
233233
if (this.metrics) this.metrics.trackStream({ stream, remotePeer, protocol })
234-
// @ts-ignore - metadata seems to be required
235234
connection.addStream(muxedStream, { protocol })
236235
this._onStream({ connection, stream: { ...muxedStream, ...stream }, protocol })
237236
} catch (err) {

0 commit comments

Comments
 (0)