Skip to content

Commit

Permalink
Fix some jsdoc errors
Browse files Browse the repository at this point in the history
  • Loading branch information
atoppi committed Nov 3, 2023
1 parent 2edb33f commit 09d0523
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/handle.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ class Handle extends EventEmitter {
* Helper to close a transaction with error.
*
* @property {string} id - The transaction id
* @property {string} error - The error message
* @property {object} error - The error object
* @returns {void}
*/
closeTransactionWithError(id, error) {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/echotest-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class EchoTestHandle extends Handle {
*
* @type {object}
* @property {string} id - The plugin identifier used when attaching to Janus
* @property {module:audiobridge-plugin~AudioBridgeHandle} Handle - The custom class implementing the plugin
* @property {module:echotest-plugin~EchoTestHandle} Handle - The custom class implementing the plugin
* @property {object} EVENT - The events emitted by the plugin
* @property {string} EVENT.ECHOTEST_RESULT {@link module:echotest-plugin~ECHOTEST_RESULT}
* @property {string} EVENT.ECHOTEST_SLOWLINK {@link module:echotest-plugin~ECHOTEST_SLOWLINK}
Expand Down
4 changes: 2 additions & 2 deletions src/tmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class TransactionManager {
*
* @param {string} id - The transaction identifier
* @param {object} owner - A reference to the transaction owner
* @param {string} error - The error string
* @param {object} error - The error object
* @returns {PendingTransaction|void} The closed transaction, or nothing if the id does not exist or the owner does not match
*/
closeTransactionWithError(id, owner, error) {
Expand All @@ -175,7 +175,7 @@ class TransactionManager {
* The closed transactions will be removed from the internal table.
*
* @param {object} [owner] - A reference to the transaction owner
* @param {string} error - The error string
* @param {object} error - The error object
*/
closeAllTransactionsWithError(owner, error) {
for (const [_, pendingTx] of this.transactions) {
Expand Down

0 comments on commit 09d0523

Please sign in to comment.