UNPKG

eslint-plugin-perfectionist

Version:

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

15 lines (14 loc) 460 B
import { TSESTree } from '@typescript-eslint/types' /** * Extract dependencies from an enum. * * @deprecated - To remove when experimental dependency detection is the only * option. * @param expression - The enum or class declaration node. * @param enumName - The name of the enum being processed. * @returns The list of dependencies. */ export declare function computeDependencies( expression: TSESTree.Expression, enumName: string, ): string[]