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

9 lines
307 B
TypeScript

import type { NodePath } from '@babel/traverse';
/**
* If the path is a call expression, it recursively resolves to the
* rightmost argument, stopping if it finds a React.createClass call expression
*
* Else the path itself is returned.
*/
export default function resolveHOC(path: NodePath): NodePath;