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 ReachableRangeCostModel

    ReachableRangeCostModel: Omit<CostModel, "avoid" | "avoidAreas"> & {
        avoid?: ReachableRangeAvoidable[];
    }

    Cost model accepted by calculateReachableRange.

    Type Declaration

    It is CostModel without avoidAreas, which this endpoint has no parameter for, and with the narrower ReachableRangeAvoidable avoid list.