UNPKG

react-docgen

Version:

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

4 lines (3 loc) 179 B
import type { TransformOptions } from '@babel/core'; import type { File } from '@babel/types'; export default function babelParser(src: string, options?: TransformOptions): File;