diff --git a/js/src/database/operations.ts b/js/src/database/operations.ts index 103810b7cf..6e99c12394 100644 --- a/js/src/database/operations.ts +++ b/js/src/database/operations.ts @@ -153,7 +153,7 @@ AJAX.registerOnload('database/operations.js', function () { event.preventDefault(); var $link = $(this); /** - * @var {String} question String containing the question to be asked for confirmation + * @var {string} question String containing the question to be asked for confirmation */ var question = window.Messages.strDropDatabaseStrongWarning + ' '; question += window.sprintf( diff --git a/js/src/designer/database.ts b/js/src/designer/database.ts index f9ae456ff0..fb51a516bf 100644 --- a/js/src/designer/database.ts +++ b/js/src/designer/database.ts @@ -22,7 +22,7 @@ var DesignerOfflineDB = (function () { var datastore = null; /** - * @param {String} table + * @param {string} table * @return {IDBTransaction} */ designerDB.getTransaction = function (table) { @@ -30,7 +30,7 @@ var DesignerOfflineDB = (function () { }; /** - * @param {String} table + * @param {string} table * @return {IDBObjectStore} */ designerDB.getObjectStore = function (table) { @@ -41,7 +41,7 @@ var DesignerOfflineDB = (function () { /** * @param {IDBTransaction} transaction - * @param {String} table + * @param {string} table * @return {IDBObjectStore} */ designerDB.getCursorRequest = function (transaction, table) { @@ -90,8 +90,8 @@ var DesignerOfflineDB = (function () { }; /** - * @param {String} table - * @param {String} id + * @param {string} table + * @param {string} id * @param {Function} callback */ designerDB.loadObject = function (table, id, callback): void { @@ -111,7 +111,7 @@ var DesignerOfflineDB = (function () { }; /** - * @param {String} table + * @param {string} table * @param {Function} callback */ designerDB.loadAllObjects = function (table, callback): void { @@ -141,7 +141,7 @@ var DesignerOfflineDB = (function () { }; /** - * @param {String} table + * @param {string} table * @param {Function} callback */ designerDB.loadFirstObject = function (table, callback): void { @@ -170,7 +170,7 @@ var DesignerOfflineDB = (function () { }; /** - * @param {String} table + * @param {string} table * @param {Object} obj * @param {Function} callback */ @@ -193,8 +193,8 @@ var DesignerOfflineDB = (function () { }; /** - * @param {String} table - * @param {String} id + * @param {string} table + * @param {string} id * @param {Function} callback */ designerDB.deleteObject = function (table, id, callback): void { diff --git a/js/src/jqplot/plugins/jqplot.byteFormatter.ts b/js/src/jqplot/plugins/jqplot.byteFormatter.ts index 13280c6712..d7359f7176 100644 --- a/js/src/jqplot/plugins/jqplot.byteFormatter.ts +++ b/js/src/jqplot/plugins/jqplot.byteFormatter.ts @@ -37,7 +37,7 @@ import $ from 'jquery'; * * @param index * - * @return {String} + * @return {string} */ $.jqplot.byteFormatter = function (index) { var i = index || 0; diff --git a/js/src/modules/config.ts b/js/src/modules/config.ts index 7d19e019a1..d80f6e25eb 100644 --- a/js/src/modules/config.ts +++ b/js/src/modules/config.ts @@ -310,7 +310,7 @@ function registerFieldValidator (id, type, onKeyUp, params) { /** * Returns validation functions associated with form field * - * @param {String} fieldId form field id + * @param {string} fieldId form field id * @param {boolean} onKeyUpOnly see registerFieldValidator * * @return {any[]} of [function, parameters to be passed to function] diff --git a/js/src/setup/scripts.ts b/js/src/setup/scripts.ts index c855548c7b..f45a5a7e15 100644 --- a/js/src/setup/scripts.ts +++ b/js/src/setup/scripts.ts @@ -64,7 +64,7 @@ $(function () { * Calls server-side validation procedures * * @param {Element} parent input field in