SpreadElement.js 443 B

1234567891011121314151617
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = extractValueFromSpreadElement;
  6. /**
  7. * Extractor function for a SpreadElement type value node.
  8. * We can't statically evaluate an array spread, so just return
  9. * undefined.
  10. *
  11. * @param - value - AST Value object with type `SpreadElement`
  12. * @returns - An prototypeless object.
  13. */
  14. function extractValueFromSpreadElement() {
  15. return undefined;
  16. }