UNPKG

react-docgen

Version:

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

5 lines (4 loc) 388 B
import type { NodePath } from '@babel/traverse'; import type Documentation from '../Documentation.js'; import type { ObjectMethod, ObjectProperty, ObjectTypeProperty, TSPropertySignature } from '@babel/types'; export default function setPropDescription(documentation: Documentation, propertyPath: NodePath<ObjectMethod | ObjectProperty | ObjectTypeProperty | TSPropertySignature>): void;