📜  将 .js 文件转换为 ts - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:15.357000             🧑  作者: Mango

代码示例5
1. Add tsconfig.json file to project
2. Integrate with a build tool
3. Change all .js files to .ts files
4. Check for any errors