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

    Type Alias DiscoverPlacesResponse

    DiscoverPlacesResponse: Places<SearchPlaceProps, SearchFeatureCollectionProps>

    Search service response containing places that match the query.

    The place features carry search-specific properties like relevance scores and distances.