UNPKG

react-docgen

Version:

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

6 lines (5 loc) 296 B
import type { NodePath } from '@babel/traverse'; import type { FunctionParameter, TSParameterProperty } from '@babel/types'; type ParameterNodePath = NodePath<FunctionParameter | TSParameterProperty>; export default function getParameterName(parameterPath: ParameterNodePath): string; export {};