From 7983eb60f9f9911187b1129f4cd4e760a7ac1912 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Sat, 2 Mar 2024 23:49:49 +0100 Subject: [PATCH] bugfix: JSDoc typing --- shared.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared.js b/shared.js index f800faa..e3c21c4 100644 --- a/shared.js +++ b/shared.js @@ -146,7 +146,7 @@ const optional = ['autocomplete', 'modalSubmit']; /** * Recursively scans a directory for all files in it. * @param {string} dir - * @returns {Array} Array of paths to the files within. + * @returns {Promise>} Array of paths to the files within. */ export const getFiles = async (dir) => { const dirents = await readdir(dir, { withFileTypes: true });