forked from M3-Academy/challenge-algorithms-v2.0
26 lines
379 B
JavaScript
26 lines
379 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;
|
||
|
|
||
|
//# sourceMappingURL=hub.js.map
|