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

    Variable budgetTypesConst

    budgetTypes: readonly ["timeMinutes", "distanceKM"] = ...

    Every BudgetType, to list them in a picker or validate one.