Merge pull request #38 from exuanbo/fix-generated-type
fix: incorrect generated type of `WebrtcProvider` constructor
This commit is contained in:
commit
4685d36f0c
3 changed files with 14 additions and 14 deletions
14
package-lock.json
generated
14
package-lock.json
generated
|
@ -26,7 +26,7 @@
|
||||||
"rollup-cli": "^1.0.9",
|
"rollup-cli": "^1.0.9",
|
||||||
"rollup-plugin-terser": "^5.3.1",
|
"rollup-plugin-terser": "^5.3.1",
|
||||||
"standard": "^14.3.4",
|
"standard": "^14.3.4",
|
||||||
"typescript": "^3.9.10",
|
"typescript": "^4.4.4",
|
||||||
"yjs": "^13.5.20"
|
"yjs": "^13.5.20"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
@ -3581,9 +3581,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/typescript": {
|
"node_modules/typescript": {
|
||||||
"version": "3.9.10",
|
"version": "4.7.4",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz",
|
||||||
"integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==",
|
"integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"tsc": "bin/tsc",
|
"tsc": "bin/tsc",
|
||||||
|
@ -6581,9 +6581,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"typescript": {
|
"typescript": {
|
||||||
"version": "3.9.10",
|
"version": "4.7.4",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz",
|
||||||
"integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==",
|
"integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"unbox-primitive": {
|
"unbox-primitive": {
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
"rollup-cli": "^1.0.9",
|
"rollup-cli": "^1.0.9",
|
||||||
"rollup-plugin-terser": "^5.3.1",
|
"rollup-plugin-terser": "^5.3.1",
|
||||||
"standard": "^14.3.4",
|
"standard": "^14.3.4",
|
||||||
"typescript": "^3.9.10",
|
"typescript": "^4.4.4",
|
||||||
"yjs": "^13.5.20"
|
"yjs": "^13.5.20"
|
||||||
},
|
},
|
||||||
"peerDependenies": {
|
"peerDependenies": {
|
||||||
|
|
|
@ -544,12 +544,12 @@ export class WebrtcProvider extends Observable {
|
||||||
* @param {string} roomName
|
* @param {string} roomName
|
||||||
* @param {Y.Doc} doc
|
* @param {Y.Doc} doc
|
||||||
* @param {Object} [opts]
|
* @param {Object} [opts]
|
||||||
* @param {Array<string>?} [opts.signaling]
|
* @param {Array<string>} [opts.signaling]
|
||||||
* @param {string?} [opts.password]
|
* @param {string} [opts.password]
|
||||||
* @param {awarenessProtocol.Awareness?} [opts.awareness]
|
* @param {awarenessProtocol.Awareness} [opts.awareness]
|
||||||
* @param {number?} [opts.maxConns]
|
* @param {number} [opts.maxConns]
|
||||||
* @param {boolean?} [opts.filterBcConns]
|
* @param {boolean} [opts.filterBcConns]
|
||||||
* @param {any?} [opts.peerOpts]
|
* @param {any} [opts.peerOpts]
|
||||||
*/
|
*/
|
||||||
constructor (
|
constructor (
|
||||||
roomName,
|
roomName,
|
||||||
|
|
Loading…
Reference in a new issue