map does not exist on type 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, []) => { });
}