Skip to content

Commit f1de466

Browse files
authored
fix: remove redundant types (#3097)
Since murat-dogan/node-datachannel#346 `node-datachannel` returns global types where appropriate so it's no longer necessary to export the polyfill versions.
1 parent 772b401 commit f1de466

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
export { RTCSessionDescription, RTCIceCandidate, RTCPeerConnection } from '@ipshipyard/node-datachannel/polyfill'
2-
export type { RTCDataChannel, RTCDataChannelEvent } from '@ipshipyard/node-datachannel/polyfill'

packages/transport-webrtc/test/muxer.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { expect } from 'aegir/chai'
55
import pRetry from 'p-retry'
66
import { stubInterface } from 'sinon-ts'
77
import { DataChannelMuxerFactory } from '../src/muxer.js'
8-
import type { RTCPeerConnection, RTCDataChannelEvent, RTCDataChannel } from '../src/webrtc/index.js'
98

109
describe('muxer', () => {
1110
it('should delay notification of early streams', async () => {

0 commit comments

Comments
 (0)