Skip to main content

Function: resolveAutofixOrSuggestionOutcome()

resolveAutofixOrSuggestionOutcome(__namedParameters: AutofixOrSuggestionResolutionInput): AutofixOrSuggestionOutcome

Defined in: _internal/rule-reporting.ts:99

Resolve one of three standardized reporting outcomes:

  • No fix (messageId only),
  • Direct autofix (fix), or
  • Suggestion-only (suggest).

Parametersโ€‹

__namedParametersโ€‹

AutofixOrSuggestionResolutionInput

Returnsโ€‹

AutofixOrSuggestionOutcome