UNPKG

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