UNPKG

560 BJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = void 0;
7
8function _helperPluginUtils() {
9 const data = require("@babel/helper-plugin-utils");
10
11 _helperPluginUtils = function () {
12 return data;
13 };
14
15 return data;
16}
17
18var _default = (0, _helperPluginUtils().declare)(api => {
19 api.assertVersion(7);
20 return {
21 name: "syntax-nullish-coalescing-operator",
22
23 manipulateOptions(opts, parserOpts) {
24 parserOpts.plugins.push("nullishCoalescingOperator");
25 }
26
27 };
28});
29
30exports.default = _default;
\No newline at end of file