使用react搭建组件库(四)——改造现有的js为ts

如果不想让ts检查某个文件,在文件的最上面写上:
//@ts-nocheck

猜你喜欢

转载自www.cnblogs.com/xiaozhumaopao/p/12652716.html