Files
Shifted/node_modules/react-docgen/dist/utils/resolveObjectValuesToArray.d.ts
2026-02-10 01:14:19 +00:00

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;