Skip to content

⬅️ Back to Table of Contents

📄 PreferOptionalChainOptions

📊 Analysis Summary

Metric Count
📐 Interfaces 1
📑 Type Aliases 1

📚 Table of Contents

🛠️ File Location:

📂 packages/eslint-plugin/src/rules/prefer-optional-chain-utils/PreferOptionalChainOptions.ts

Interfaces

PreferOptionalChainOptions

Interface Code
export interface PreferOptionalChainOptions {
  allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean;
  checkAny?: boolean;
  checkBigInt?: boolean;
  checkBoolean?: boolean;
  checkNumber?: boolean;
  checkString?: boolean;
  checkUnknown?: boolean;
  requireNullish?: boolean;
}

Properties

Name Type Optional Description
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWh... boolean not shown
checkAny boolean not shown
checkBigInt boolean not shown
checkBoolean boolean not shown
checkNumber boolean not shown
checkString boolean not shown
checkUnknown boolean not shown
requireNullish boolean not shown

Type Aliases

PreferOptionalChainMessageIds

type PreferOptionalChainMessageIds = 'optionalChainSuggest' | 'preferOptionalChain';

Generated by Syntax Scribe