元素隐式具有 "any" 类型,因为类型为 "any" 的表达式不能用于索引类型 "typeof
时间: 2023-08-27 18:21:03 浏览: 178
引用<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [元素隐式具有 “any“ 类型,因为类型为 “string“ 的表达式不能用于索引类型](https://blog.csdn.net/weixin_43777074/article/details/121859150)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [TS:元素隐式具有 “any“ 类型,因为类型为 “any“ 的表达式不能用于索引类型](https://blog.csdn.net/weixin_42164539/article/details/113945046)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文