eslint-plugin-perfectionist
Version:
ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.
14 lines (13 loc) • 543 B
TypeScript
import { TSESTree } from '@typescript-eslint/utils'
import { OverloadSignatureGroup } from '../../utils/overload-signature/overload-signature-group.js'
type Method = TSESTree.TSAbstractMethodDefinition | TSESTree.MethodDefinition
/**
* Returns a list of groups of overload signatures.
*
* @param classElements - The class elements to process.
* @returns A list of overload signature groups.
*/
export declare function computeOverloadSignatureGroups(
classElements: TSESTree.ClassElement[],
): OverloadSignatureGroup<Method>[]
export {}