Fix types
This commit is contained in:
parent
37033dd468
commit
48dfc09f22
1 changed files with 2 additions and 3 deletions
|
@ -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 a new issue