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

    Type Alias ShownFeaturesType<TShownFeatures>

    ShownFeaturesType: [TShownFeatures] extends [never] ? never : "shown-features"

    'shown-features', except on a module with no show. There TShownFeatures is never, so this collapses to never and makes the overload uncallable. Without it, a handler could be registered for an event the module can never emit.

    Type Parameters

    • TShownFeatures