diff options
Diffstat (limited to 'node_modules/@babel/traverse/lib/hub.js')
-rw-r--r-- | node_modules/@babel/traverse/lib/hub.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/node_modules/@babel/traverse/lib/hub.js b/node_modules/@babel/traverse/lib/hub.js new file mode 100644 index 0000000..fe139d2 --- /dev/null +++ b/node_modules/@babel/traverse/lib/hub.js @@ -0,0 +1,23 @@ +"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;
\ No newline at end of file |