Sha256: b5e9cf96411ecd20e77be879055829b9e03d4b7c3c0674eb654c15ab3d579eb1
Contents?: true
Size: 531 Bytes
Versions: 8
Compression:
Stored size: 531 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = function (_ref) { var Plugin = _ref.Plugin; var t = _ref.types; return new Plugin("undefined-to-void", { metadata: { group: "builtin-basic" }, visitor: { ReferencedIdentifier: function ReferencedIdentifier(node, parent) { if (node.name === "undefined") { return t.unaryExpression("void", t.literal(0), true); } } } }); }; module.exports = exports["default"];
Version data entries
8 entries across 8 versions & 3 rubygems