From 350e7b9065ad9ab0476305e3f4cbb7c5411789dd Mon Sep 17 00:00:00 2001 From: KaKi87 Date: Sun, 27 Mar 2022 20:56:33 +0200 Subject: [PATCH] :bulb: Add 'tolgeeJson' type definition --- mod.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mod.js b/mod.js index 35b9eaf..190a9b0 100644 --- a/mod.js +++ b/mod.js @@ -21,9 +21,13 @@ module.exports = ({ 'ak': apiKey } })); + /** + * @typedef tolgeeJson + * @type {Object.>} + */ /** * Download project i18n data as JSON objects - * @returns {Promise} + * @returns {Promise} */ const downloadJson = async () => { const @@ -46,7 +50,7 @@ module.exports = ({ downloadJson, /** * - * @param {object} json + * @param {tolgeeJson} json * @param {function} [onProgress] * @returns {Promise} */