📜  数组类型对象,map 不是打字稿中的函数 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:12.610000             🧑  作者: Mango

代码示例1
Adding > won't actually turn the object into an array, its just a cast to tell typescript to think of it as an array and doesn't effect the produced javascript at all.