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...

    Type Alias Anything

    Anything: { [x: string]: unknown }

    An object with string keys and unknown values.

    Use it for objects whose shape is not fixed, such as extensible properties or arbitrary user data.

    Type Declaration

    • [x: string]: unknown
    function processCustomData(data: Anything) {
    // Access properties dynamically
    console.log(data['customField']);
    }