diff --git a/types/mapbox-gl/index.d.ts b/types/mapbox-gl/index.d.ts index eed8c2dc1f..1c5e93c87b 100644 --- a/types/mapbox-gl/index.d.ts +++ b/types/mapbox-gl/index.d.ts @@ -361,7 +361,7 @@ declare namespace mapboxgl { crossSourceCollisions?: boolean; /** ID of the container element */ - container: string | Element; + container: string | HTMLElement; /** String or strings to show in an AttributionControl. * Only applicable if options.attributionControl is `true`. */