This commit addresses yjs/y-webrtc#29 by adding a TypeScript @type
hint for the options to the WebRtcProvider constructor. This hint
explicitly marks each key of the options object as optional.
For example:
* @type {{
* signaling?: string[] | null,
identifies that signaling may be omitted when passing the options object.
This commit addresses yjs/y-webrtc#29 by adding a TypeScript
@type
hint for the options to theWebRtcProvider
constructor. This hint explicitly marks each key of the options object as optional.For example:
identifies that
signaling
may be omitted when passing the options object.