THIS IS ARCHIVED DOCUMENTATION

(Deprecated) DidYouMeanActions

The DidYouMean action creators.

Loader Function

loadDidYouMeanActions

Parameters

  • engine:

The headless engine.

Returns DidYouMeanActionCreators: The DidYouMean action creators.

DidYouMeanActionCreators

applyDidYouMeanCorrection

Applies a did-you-mean correction.

Parameters

  • correction: string

    The target correction (for example, "corrected string").

Returns PayloadAction<string>: A dispatchable action.

disableDidYouMean

Disables did-you-mean.

Returns PayloadAction: A dispatchable action.

enableDidYouMean

Enables did-you-mean.

Returns PayloadAction: A dispatchable action.