react-docgen
Version:
A library to extract information from React components for documentation generation.
9 lines (8 loc) • 324 B
TypeScript
import type { Handler } from './index.js';
/**
* This handler tries to find flow and TS Type annotated react components and extract
* its types to the documentation. It also extracts docblock comments which are
* inlined in the type definition.
*/
declare const codeTypeHandler: Handler;
export default codeTypeHandler;