mapbox / mapbox-gl-js

Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
https://docs.mapbox.com/mapbox-gl-js/
Other
11.25k stars 2.23k forks source link

adding type to the _controlPositions property of Map class #13270

Closed JabSYsEmb closed 2 months ago

JabSYsEmb commented 2 months ago

Fix the type of the _controlpositions property of Map class:

 _controlPositions: {
        [P in ControlPosition]: HTMLElement; // instead of [_: string] 
  }
CLAassistant commented 2 months ago

CLA assistant check
All committers have signed the CLA.

stepankuzmin commented 2 months ago

Hi @JabSYsEmb,

This will be fixed in the upcoming v3.7.0-beta.1.