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

    Variable mapThemeModesConst

    mapThemeModes: readonly ["light", "dark", "auto"]

    Every MapThemeMode, for validating one at runtime.