# gitcode **Repository Path**: jeyarLin/gitcode ## Basic Information - **Project Name**: gitcode - **Description**: 学习Git专用 - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: locbranch - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-08-18 - **Last Updated**: 2023-07-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # gitcode #### 介绍 学习typescript专用 #### 软件架构 软件架构说明 git add . git commit -m "typescript学习" git push #### 安装教程 1. 创建项目,生成package.json文件:npm init 2. npm install -g typescript 3. 查看ts版本:tsc -v 4. npm install @types/node -D 5. npm install ts-node -g 6. 查看ts-node版本:ts-node -v 6. 运行ts文件:ts-node index.ts #### 使用说明 1. 查看全部的命令:tsc --help 2. ts变化生成js文件:tsc app.ts --watch 3. ts生成js文件:tsc app.ts