This is the documentation of version 1.0.0-rc.2. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias SearchSuggestionsResponse

    The result of a getSearchSuggestions call.

    type SearchSuggestionsResponse = {
        suggestions: SearchSuggestion[];
    }
    Index
    suggestions: SearchSuggestion[]

    The ranked list.