odin-js-fundamentals-part-5/node_modules/@babel/traverse/lib/hub.js

20 lines
373 B
JavaScript
Raw Permalink Normal View History

2024-01-11 08:52:05 +00:00
"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;
//# sourceMappingURL=hub.js.map