1 line
594 B
JSON
1 line
594 B
JSON
{"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = assertNode;\n\nvar _isNode = _interopRequireDefault(require(\"../validators/isNode\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\nfunction assertNode(node) {\n if (!(0, _isNode.default)(node)) {\n var type = node && node.type || JSON.stringify(node);\n throw new TypeError(\"Not a valid node of type \\\"\".concat(type, \"\\\"\"));\n }\n}","map":null,"metadata":{},"sourceType":"script"} |