isExportsOrModuleAssignment.d.ts 233 B

123456
  1. import type { NodePath } from '@babel/traverse';
  2. /**
  3. * Returns true if the expression is of form `exports.foo = ...;` or
  4. * `modules.exports = ...;`.
  5. */
  6. export default function isExportsOrModuleAssignment(path: NodePath): boolean;