Skip to content

Commit 05b362c

Browse files
committed
export types. resolves #300
1 parent da4d355 commit 05b362c

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

src/lib/index.ts

+5-10
Original file line numberDiff line numberDiff line change
@@ -148,16 +148,6 @@ export class RtcpReceivingSession {
148148
//
149149
}
150150

151-
/**export {
152-
Channel, DataChannelInitConfig, DescriptionType,
153-
Direction, LogLevel, RtcConfig, SctpSettings,
154-
SelectedCandidateInfo, RTCIceConnectionState,
155-
RTCIceGathererState, RTCIceGatheringState,
156-
RTCIceTransportState, RTCPeerConnectionState,
157-
RTCSdpType, RTCSignalingState, RelayType,
158-
ProxyServerType, TransportPolicy,
159-
WebSocketServerConfiguration, IceServer, ProxyServer
160-
} from './types';**/
161151
export { WebSocketServer } from './websocket-server';
162152
export { WebSocket } from './websocket';
163153

@@ -178,3 +168,8 @@ export default {
178168
WebSocketServer,
179169
DataChannelStream
180170
};
171+
172+
173+
// Types
174+
// https://github.com/murat-dogan/node-datachannel/issues/300
175+
export * from './types';

0 commit comments

Comments
 (0)