UNPKG

jsx-ast-utils

Version:

AST utility module for statically analyzing JSX

12 lines (11 loc) 330 B
/** * 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. */ export default function extractValueFromSpreadElement() { return undefined; }