eslint-plugin-perfectionist
Version:
ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.
13 lines (12 loc) • 397 B
TypeScript
import { TSESTree } from '@typescript-eslint/types'
/**
* Computes the name of an export specifier node.
*
* @param node - The export specifier node.
* @param ignoreAlias - Whether to ignore the alias and use the local name.
* @returns The computed name of the export specifier.
*/
export declare function computeNodeName(
node: TSESTree.ExportSpecifier,
ignoreAlias: boolean,
): string