1
0
Fork 0
mirror of synced 2024-07-15 03:05:57 +12:00

Fix types

This commit is contained in:
Adria Navarro 2024-01-24 18:11:28 +01:00
parent 37033dd468
commit 48dfc09f22

View file

@ -396,6 +396,5 @@ module.exports.convertToJS = hbs => {
module.exports.FIND_ANY_HBS_REGEX = FIND_ANY_HBS_REGEX
const errors = require("./errors")
for (const error in errors) {
module.exports[error] = errors[error]
}
// We cannot use dynamic exports, otherwise the typescript file will not be generating it
module.exports.JsErrorTimeout = errors.JsErrorTimeout