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

17 lines
443 B
JavaScript

"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;
}