UNPKG

@nodesecure/js-x-ray

Version:
15 lines 592 B
import type { ESTree } from "meriyah"; import { type DefaultOptions } from "../types.ts"; export interface GetCallExpressionIdentifierOptions extends DefaultOptions { /** * Resolve the CallExpression callee if it is a MemberExpression. * * @default true * @example * require('./file.js')(); ^ Second ^ First */ resolveCallExpression?: boolean; } export declare function getCallExpressionIdentifier(node: ESTree.Node, options?: GetCallExpressionIdentifierOptions): string | null; //# sourceMappingURL=getCallExpressionIdentifier.d.ts.map