你可以通过 npm 来安装使用 @types ,例如为 jquery 添加声明文件:. npm install @types/jquery --save-dev. @types 支持全局和模块类型定义。
確定! 回上一頁