diff --git a/src/y-webrtc.js b/src/y-webrtc.js index 33422df..1c83cb6 100644 --- a/src/y-webrtc.js +++ b/src/y-webrtc.js @@ -530,12 +530,12 @@ export class WebrtcProvider extends Observable { * @param {string} roomName * @param {Y.Doc} doc * @param {Object} [opts] - * @param {Array} [opts.signaling] + * @param {Array?} [opts.signaling] * @param {string?} [opts.password] - * @param {awarenessProtocol.Awareness} [opts.awareness] - * @param {number} [opts.maxConns] - * @param {boolean} [opts.filterBcConns] - * @param {any} [opts.peerOpts] + * @param {awarenessProtocol.Awareness?} [opts.awareness] + * @param {number?} [opts.maxConns] + * @param {boolean?} [opts.filterBcConns] + * @param {any?} [opts.peerOpts] */ constructor ( roomName,