diff --git a/utils/get.js b/utils/get.js index 7cd9cf6..fbce7c1 100644 --- a/utils/get.js +++ b/utils/get.js @@ -135,7 +135,7 @@ async function get({ key, db, query, queryValues, tableName }) { response.on("end", function () { try { resolve(JSON.parse(str)); - } catch (error) { + } catch (/** @type {any} */ error) { reject({ error: error.message, result: str,