UNPKG

307 BTypeScriptView Raw
1import type { NodePath } from '@babel/traverse';
2/**
3 * If the path is a call expression, it recursively resolves to the
4 * rightmost argument, stopping if it finds a React.createClass call expression
5 *
6 * Else the path itself is returned.
7 */
8export default function resolveHOC(path: NodePath): NodePath;