会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
李悠然
博客园
首页
新随笔
联系
管理
订阅
2021年7月22日
react ts could not find a declaration file for module
摘要: 在react中使用TS导致类型无法加载的问题,会抛出could not find a declaration file for module的错误 1. 导致这个错误的原因是 js库无法在Ts中正常加载 2. 解决方法 第一种方法 一般可以通过@types/***加载module 第二种方法 毕竟不
阅读全文
posted @ 2021-07-22 10:25 李悠然
阅读(3193)
评论(0)
推荐(0)
编辑
公告