any Property 'map' does not exist on type 'HTMLElement' mapbox code example
Example: property 'map' does not exist on type 'object'
if (myStructure instanceof Array) {
myStructure.map((val, idx, []) => { });
}
if (myStructure instanceof Array) {
myStructure.map((val, idx, []) => { });
}