使用tsd init 报错
报错信息
The type definition `index.d.ts` does not exist. Create one and try again.
解决方案
npm i tsd@0.6.5 -g

本文介绍了解决使用tsdinit时遇到的`index.d.ts`类型定义文件不存在的错误,提供了一个有效的解决方案:通过npm安装tsd@0.6.5来创建缺失的类型定义文件。
The type definition `index.d.ts` does not exist. Create one and try again.
npm i tsd@0.6.5 -g

1005

被折叠的 条评论
为什么被折叠?