UNPKG

minotor

Version:

A lightweight client-side transit routing library.

11 lines (10 loc) 449 B
/** * Generates a list of accent variants for a given term. * * This function takes a term and generates a list of alternative spellings * by replacing characters with their accented variants and vice versa. * * @param term - The input term for which to generate accent variants. * @returns An array of strings containing the original term and its accent variants. */ export declare const generateAccentVariants: (term: string) => string[];