diff --git a/src/y-webrtc.js b/src/y-webrtc.js index 0191331..5768779 100644 --- a/src/y-webrtc.js +++ b/src/y-webrtc.js @@ -531,12 +531,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,