eslint-plugin-perfectionist
Version:
ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.
12 lines (11 loc) • 316 B
TypeScript
import { TSESTree } from '@typescript-eslint/types'
import { TSESLint } from '@typescript-eslint/utils'
export declare function computeNodeValue({
isDestructuredObject,
sourceCode,
property,
}: {
sourceCode: TSESLint.SourceCode
isDestructuredObject: boolean
property: TSESTree.Property
}): string | null