UNPKG

react-docgen

Version:

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

7 lines (6 loc) 233 B
import type { NodePath } from '@babel/traverse'; /** * Returns true if the expression is of form `exports.foo = ...;` or * `modules.exports = ...;`. */ export default function isExportsOrModuleAssignment(path: NodePath): boolean;