From 8621fdbfa332cee0cdd29d0a1132af1f00e53daf Mon Sep 17 00:00:00 2001 From: LenAnderson Date: Sat, 13 Jul 2024 14:23:49 -0400 Subject: [PATCH] jsdoc type casing --- .../quick-reply/src/QuickReplySet.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/public/scripts/extensions/quick-reply/src/QuickReplySet.js b/public/scripts/extensions/quick-reply/src/QuickReplySet.js index 2c803dc8d..28b2025e4 100644 --- a/public/scripts/extensions/quick-reply/src/QuickReplySet.js +++ b/public/scripts/extensions/quick-reply/src/QuickReplySet.js @@ -18,7 +18,7 @@ export class QuickReplySet { } /** - * @param {String} name - name of the QuickReplySet + * @param {string} name - name of the QuickReplySet */ static get(name) { return this.list.find(it=>it.name == name); @@ -27,17 +27,17 @@ export class QuickReplySet { - /**@type {String}*/ name; - /**@type {Boolean}*/ disableSend = false; - /**@type {Boolean}*/ placeBeforeInput = false; - /**@type {Boolean}*/ injectInput = false; + /**@type {string}*/ name; + /**@type {boolean}*/ disableSend = false; + /**@type {boolean}*/ placeBeforeInput = false; + /**@type {boolean}*/ injectInput = false; /**@type {QuickReply[]}*/ qrList = []; - /**@type {Number}*/ idIndex = 0; + /**@type {number}*/ idIndex = 0; - /**@type {Boolean}*/ isDeleted = false; + /**@type {boolean}*/ isDeleted = false; - /**@type {Function}*/ save; + /**@type {function}*/ save; /**@type {HTMLElement}*/ dom; /**@type {HTMLElement}*/ settingsDom; @@ -190,7 +190,7 @@ export class QuickReplySet { } /** * @param {QuickReply} qr - * @param {String} [message] - optional altered message to be used + * @param {string} [message] - optional altered message to be used * @param {SlashCommandScope} [scope] - optional scope to be used when running the command */ async execute(qr, message = null, isAutoExecute = false, scope = null) {