DidYouMeanActions

The DidYouMean action creators.

Loader Function

loadDidYouMeanActions

Loads the debug reducer and returns possible action creators.

Parameters

  • engine: SearchEngine

    The headless engine.

Returns DidYouMeanActionCreators: The DidYouMean action creators.

DidYouMeanActionCreators

applyDidYouMeanCorrection

Applies a did-you-mean correction.

Parameters

  • correction: string

    The target correction (e.g., "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.

What's Next for Me?