7 lines
233 B
TypeScript
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;
|