UNPKG

eslint-plugin-perfectionist

Version:

ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.

11 lines (10 loc) 395 B
import { SortImportsNode } from './types.js' /** * Computes the dependencies of an import-like AST node. * * @deprecated - To remove when experimental dependency detection is the only * option. * @param node - The AST node representing an import-like declaration. * @returns The names of the dependencies. */ export declare function computeDependencies(node: SortImportsNode): string[]