UNPKG

jsx-ast-utils

Version:

AST utility module for statically analyzing JSX

15 lines (14 loc) 383 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = extractValueFromNewExpression; /** * Extractor function for a NewExpression type value node. * A new expression instantiates an object with `new` keyword. * * @returns - an empty object. */ function extractValueFromNewExpression() { return new Object(); // eslint-disable-line }