Skip to content

Commit

Permalink
Swap Element with HTMLElement for TS type validation with Mapbox types.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtbaker committed Jan 8, 2020
1 parent e8560d9 commit ffbbb92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/mapbox-gl/index.d.ts
Expand Up @@ -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`. */
Expand Down

0 comments on commit ffbbb92

Please sign in to comment.