Fix types
This commit is contained in:
parent
37033dd468
commit
48dfc09f22
|
@ -396,6 +396,5 @@ module.exports.convertToJS = hbs => {
|
||||||
module.exports.FIND_ANY_HBS_REGEX = FIND_ANY_HBS_REGEX
|
module.exports.FIND_ANY_HBS_REGEX = FIND_ANY_HBS_REGEX
|
||||||
|
|
||||||
const errors = require("./errors")
|
const errors = require("./errors")
|
||||||
for (const error in errors) {
|
// We cannot use dynamic exports, otherwise the typescript file will not be generating it
|
||||||
module.exports[error] = errors[error]
|
module.exports.JsErrorTimeout = errors.JsErrorTimeout
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue