TypeScript引入js组件

当使用ts时引入js组件时,可以同时引入@types/xxx达到使用ts的目的。

❤️ 转载文章请注明出处,谢谢!❤️