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

    Variable indexedMagnitudesConst

    indexedMagnitudes: DelayMagnitude[] = ...

    Every DelayMagnitude, each at the index the Traffic API's magnitudeOfDelay code gives it.