Files
med-notes/.pnpm-store/v10/files/66/54f7285634214d010d9af86954cebe136d4030be9e1a3d244ac5618aef657680044ef4fbaa062f6c85f56623729e4d6e38292299c09467cf65c70bcee994e8
2025-05-09 05:30:08 +02:00

15 lines
450 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = toComputedKey;
var _index = require("../validators/generated/index.js");
var _index2 = require("../builders/generated/index.js");
function toComputedKey(node, key = node.key || node.property) {
if (!node.computed && (0, _index.isIdentifier)(key)) key = (0, _index2.stringLiteral)(key.name);
return key;
}
//# sourceMappingURL=toComputedKey.js.map