UNPKG

@typescript-eslint/eslint-plugin

Version:
8 lines 693 B
import type { ParserServicesWithTypeInformation, TSESTree } from '@typescript-eslint/utils'; import type { RuleContext } from '@typescript-eslint/utils/ts-eslint'; import type { ValidOperand } from './gatherLogicalOperands'; import type { PreferOptionalChainMessageIds, PreferOptionalChainOptions } from './PreferOptionalChainOptions'; export declare function analyzeChain(context: RuleContext<PreferOptionalChainMessageIds, [ PreferOptionalChainOptions ]>, parserServices: ParserServicesWithTypeInformation, options: PreferOptionalChainOptions, node: TSESTree.Node, operator: TSESTree.LogicalExpression['operator'], chain: ValidOperand[]): void; //# sourceMappingURL=analyzeChain.d.ts.map