setup-php/node_modules/@babel/traverse/lib/hub.js
Shivam Mathur 8f9786b73f init
2019-09-06 05:17:43 +05:30

23 lines
345 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
class Hub {
getCode() {}
getScope() {}
addHelper() {
throw new Error("Helpers are not supported by the default hub.");
}
buildError(node, msg, Error = TypeError) {
return new Error(msg);
}
}
exports.default = Hub;