12 lines
345 B
TypeScript
12 lines
345 B
TypeScript
import type { NodePath } from '@babel/traverse';
|
|
/**
|
|
* Returns an ArrayExpression which contains all the values resolved from an object
|
|
*
|
|
* Ignores setters in objects
|
|
*
|
|
* Returns null in case of
|
|
* unresolvable spreads
|
|
* computed identifier values
|
|
*/
|
|
export default function resolveObjectValuesToArray(path: NodePath): string[] | null;
|