securityos/node_modules/jsx-ast-utils/lib/values/expressions/SpreadElement.js

17 lines
443 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = extractValueFromSpreadElement;
/**
* Extractor function for a SpreadElement type value node.
* We can't statically evaluate an array spread, so just return
* undefined.
*
* @param - value - AST Value object with type `SpreadElement`
* @returns - An prototypeless object.
*/
function extractValueFromSpreadElement() {
return undefined;
}