UNPKG

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
import { TSESTree } from '@typescript-eslint/types' /** * Computes the name of an import specifier node. * * @param node - The import specifier node. * @param ignoreAlias - Whether to ignore the alias and use the local name. * @returns The computed name of the import specifier. */ export declare function computeNodeName( node: TSESTree.ImportSpecifier, ignoreAlias: boolean, ): string