typescript提示implicitly has an 'any' type 问题

是你定义的数据没有定义类型 

隐式具有“any”类型

只要显示的定义就行了

posted @ 2020-10-13 20:19  lonelyshy  阅读(10203)  评论(0编辑  收藏  举报