Interface SuggestionsConfiguration

interface SuggestionsConfiguration {
    numSuggestions?: number;
    suggestionNumChanges?: number;
    suggestionsTimeout?: number;
}

Hierarchy (view full)

Properties

numSuggestions?: number

Number of suggestions to make.

10
suggestionNumChanges?: number

The maximum number of changes allowed on a word to be considered a suggestions.

For example, appending an s onto example -> examples is considered 1 change.

Range: between 1 and 5.

3
suggestionsTimeout?: number

The maximum amount of time in milliseconds to generate suggestions for a word.

500