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