UNPKG

@ipshipyard/node-datachannel

Version:

WebRTC For Node.js and Electron. libdatachannel node bindings.

13 lines (11 loc) 521 B
declare class RTCPeerConnectionIceEvent extends Event implements globalThis.RTCPeerConnectionIceEvent { #private; constructor(candidate: globalThis.RTCIceCandidate); get candidate(): globalThis.RTCIceCandidate; } declare class RTCDataChannelEvent extends Event implements globalThis.RTCDataChannelEvent { #private; constructor(type: string, eventInitDict: globalThis.RTCDataChannelEventInit); get channel(): globalThis.RTCDataChannel; } export { RTCDataChannelEvent, RTCPeerConnectionIceEvent };