learn typescript 源码
学习打字稿 开始吧 Step1安装依赖项 $ npm init -y $ npm install -D typescript ts-node nodemon $ ./node_modules/.bin/tsc --init 步骤2更改TypeScript设置 { " compileOptions " : { " noImplicitAny " : true , " strictNullChecks " : true } } Step3 Nodemon设置 { " watch " : [ " src " ], " ext " : " ts " , " exec " : " ts-node src/main.ts " } Step4 NPM脚本设置 { " scripts " : { " start " : " nodemon " } } 步
文件列表
learn-typescript-master.zip
(预估有个33文件)
learn-typescript-master
.gitignore
2KB
nodemon.json
71B
tsconfig.json
6KB
README.md
547B
.nvmrc
8B
package.json
772B
src
generators
create-fibonacci-generator.ts
269B
暂无评论