type of _controlPositions
property of the Map class
#4649
Labels
bug
Something isn't working
good first issue
Good for newcomers
PR is more than welcomed
Extra attention is needed
I just noticed that the vscode intelljsense does not autocomplate for
_controlPositions
ofMap
class and found out it is due to that it is defined asRecord<string, HTMLElement>
, is that intentionally? Or typed incorrectly since_controlPositions
cannot be positioned other than what the ControlPosition type ismaplibre-gl-js/src/ui/map.ts
Line 448 in 160b8f9
I fix the type locally and get the nitelljsense working fine as in the following screenshot:
The text was updated successfully, but these errors were encountered: