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

    Variable metricKeyToApiDataTypeConst Internal

    metricKeyToApiDataType: Record<AreaAnalyticsMetricKey, string> = ...

    Maps a camelCase AreaAnalyticsMetricKey to the UPPER_CASE string expected by the API.