Explorar o código

style: fix JSDoc types

rugk hai 4 meses
pai
achega
64db447a17
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      js/privatebin.js

+ 2 - 2
js/privatebin.js

@@ -3655,7 +3655,7 @@ window.PrivateBin = (function () {
          *
          * @name   DiscussionViewer.getReplyCommentId
          * @function
-         * @return {int|undefined}
+         * @return {number|undefined}
          */
         me.getReplyCommentId = function () {
             return replyCommentId;
@@ -3667,7 +3667,7 @@ window.PrivateBin = (function () {
          * @name   DiscussionViewer.highlightComment
          * @function
          * @param {string} commentId
-         * @param {bool} fadeOut - whether to fade out the comment
+         * @param {Boolean} fadeOut - whether to fade out the comment
          */
         me.highlightComment = function (commentId, fadeOut) {
             const comment = document.getElementById('comment_' + commentId);