UNPKG

345 BTypeScriptView Raw
1import type { NodePath } from '@babel/traverse';
2/**
3 * Returns an ArrayExpression which contains all the values resolved from an object
4 *
5 * Ignores setters in objects
6 *
7 * Returns null in case of
8 * unresolvable spreads
9 * computed identifier values
10 */
11export default function resolveObjectValuesToArray(path: NodePath): string[] | null;