TypoRange: {
    max?: number | null;
    min: number;
}

The TypoRange struct is used to specify the range of which the query will be corrected if it has a typo.

Type declaration

  • Optionalmax?: number | null

    The maximum number of characters that the query will be corrected if it has a typo. If not specified, this defaults to 8.

  • min: number

    The minimum number of characters that the query will be corrected if it has a typo. If not specified, this defaults to 5.