resolveHOC.d.ts 307 B

12345678
  1. import 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. */
  8. export default function resolveHOC(path: NodePath): NodePath;