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

    Type Alias TrafficIncidentsKnobId

    TrafficIncidentsKnobId:
        | "visible"
        | `icons.${keyof IncidentIconsConfig}`
        | `filters.any.0.${ValuesFilterKnobPath<
            Exclude<keyof TrafficIncidentsFilter, "delays">,
        >}`
        | `filters.any.0.delays.${keyof DelayFilter}`

    The id of a traffic incidents knob: its path into TrafficIncidentsModuleConfig, e.g. icons.visible or filters.any.0.magnitudes.values. See trafficIncidentsKnobCatalogue for what each one does.

    The filter knobs set the first of the filters.any alternatives.