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