⬅️ Back to Table of Contents
📄 PreferOptionalChainOptions.ts
📊 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 |
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing |
boolean |
✓ |
|
checkAny |
boolean |
✓ |
|
checkBigInt |
boolean |
✓ |
|
checkBoolean |
boolean |
✓ |
|
checkNumber |
boolean |
✓ |
|
checkString |
boolean |
✓ |
|
checkUnknown |
boolean |
✓ |
|
requireNullish |
boolean |
✓ |
|
Type Aliases
PreferOptionalChainMessageIds
type PreferOptionalChainMessageIds = | 'optionalChainSuggest'
| 'preferOptionalChain';