Skip to content

Commit

Permalink
Merge pull request #38 from exuanbo/fix-generated-type
Browse files Browse the repository at this point in the history
fix: incorrect generated type of `WebrtcProvider` constructor
  • Loading branch information
dmonad authored Jan 16, 2023
2 parents e3c1a74 + a60bad8 commit 4685d36
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"rollup-cli": "^1.0.9",
"rollup-plugin-terser": "^5.3.1",
"standard": "^14.3.4",
"typescript": "^3.9.10",
"typescript": "^4.4.4",
"yjs": "^13.5.20"
},
"peerDependenies": {
Expand Down
12 changes: 6 additions & 6 deletions src/y-webrtc.js
Original file line number Diff line number Diff line change
Expand Up @@ -544,12 +544,12 @@ export class WebrtcProvider extends Observable {
* @param {string} roomName
* @param {Y.Doc} doc
* @param {Object} [opts]
* @param {Array<string>?} [opts.signaling]
* @param {string?} [opts.password]
* @param {awarenessProtocol.Awareness?} [opts.awareness]
* @param {number?} [opts.maxConns]
* @param {boolean?} [opts.filterBcConns]
* @param {any?} [opts.peerOpts]
* @param {Array<string>} [opts.signaling]
* @param {string} [opts.password]
* @param {awarenessProtocol.Awareness} [opts.awareness]
* @param {number} [opts.maxConns]
* @param {boolean} [opts.filterBcConns]
* @param {any} [opts.peerOpts]
*/
constructor (
roomName,
Expand Down

0 comments on commit 4685d36

Please sign in to comment.