From 7ffc4ad5893e00cf2d25237a18e6ef85429338c2 Mon Sep 17 00:00:00 2001 From: Jason Baker Date: Wed, 8 Jan 2020 16:10:44 -0500 Subject: [PATCH] Swap Element with HTMLElement for TS type validation with Mapbox types. (#41462) --- types/mapbox-gl/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`. */