9 lines
307 B
TypeScript
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;
|