eslint-plugin-perfectionist
Version:
ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.
13 lines (12 loc) • 401 B
TypeScript
import { SortVariableDeclarationsNode } from './types.js'
/**
* Computes the dependencies of a variable declaration node.
*
* @deprecated - To remove when experimental dependency detection is the only
* option.
* @param node - The AST node to analyze.
* @returns The names of the dependencies.
*/
export declare function computeDependencies(
node: SortVariableDeclarationsNode,
): string[]