hub.js 345 B

1234567891011121314151617181920212223
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. class Hub {
  7. getCode() {}
  8. getScope() {}
  9. addHelper() {
  10. throw new Error("Helpers are not supported by the default hub.");
  11. }
  12. buildError(node, msg, Error = TypeError) {
  13. return new Error(msg);
  14. }
  15. }
  16. exports.default = Hub;