UNPKG

react-docgen

Version:

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

38 lines (37 loc) 816 B
import type { NodePath } from '@babel/traverse'; export declare function ignore<T>(path: NodePath<T>): void; export declare const shallowIgnoreVisitors: { FunctionDeclaration: { enter: typeof ignore; }; FunctionExpression: { enter: typeof ignore; }; Class: { enter: typeof ignore; }; IfStatement: { enter: typeof ignore; }; WithStatement: { enter: typeof ignore; }; SwitchStatement: { enter: typeof ignore; }; CatchClause: { enter: typeof ignore; }; Loop: { enter: typeof ignore; }; ExportNamedDeclaration: { enter: typeof ignore; }; ExportDefaultDeclaration: { enter: typeof ignore; }; ConditionalExpression: { enter: typeof ignore; }; };