UNPKG

react-docgen

Version:

A library to extract information from React components for documentation generation.

4 lines (3 loc) 248 B
import type { NodePath } from '@babel/traverse'; import type { Expression, Function as BabelFunction } from '@babel/types'; export default function resolveFunctionDefinitionToReturnValue(path: NodePath<BabelFunction>): NodePath<Expression> | null;