Skip to content

Commit

Permalink
export types. resolves #300
Browse files Browse the repository at this point in the history
  • Loading branch information
murat-dogan committed Nov 10, 2024
1 parent da4d355 commit 05b362c
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions src/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,16 +148,6 @@ export class RtcpReceivingSession {
//
}

/**export {
Channel, DataChannelInitConfig, DescriptionType,
Direction, LogLevel, RtcConfig, SctpSettings,
SelectedCandidateInfo, RTCIceConnectionState,
RTCIceGathererState, RTCIceGatheringState,
RTCIceTransportState, RTCPeerConnectionState,
RTCSdpType, RTCSignalingState, RelayType,
ProxyServerType, TransportPolicy,
WebSocketServerConfiguration, IceServer, ProxyServer
} from './types';**/
export { WebSocketServer } from './websocket-server';
export { WebSocket } from './websocket';

Expand All @@ -178,3 +168,8 @@ export default {
WebSocketServer,
DataChannelStream
};


// Types
// https://github.com/murat-dogan/node-datachannel/issues/300
export * from './types';

0 comments on commit 05b362c

Please sign in to comment.