Files
Shifted/node_modules/react-docgen/dist/utils/isExportsOrModuleAssignment.d.ts
2026-02-10 01:14:19 +00:00

7 lines
233 B
TypeScript

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;