Trevixal API
    Preparing search index...

    Interface AutocorrectOptions

    interface AutocorrectOptions {
        curlyQuotes?: () => boolean;
        enabled?: () => boolean;
        words?: () => Readonly<Record<string, string>>;
    }
    Index
    curlyQuotes?: () => boolean

    Read on every word: whether an apostrophe in a correction goes in curled, as smart quotes would have typed it (dont → don’t). Off by default.

    enabled?: () => boolean

    Read on every word; always on by default.

    words?: () => Readonly<Record<string, string>>

    The list, read on every word, so edits to it apply at once. Keys are matched in lower case.