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