mydog中用到的ts知识

1)安装ts-node直接运行ts npm install ts-node -g --save --unsafe-perm=true --allow-root ts-node app.ts 2)安装ts npm install -g typescript 3)建立tsconfig.json tsc --init 4)编译全部的ts文件为js tsc --build tsconfig.jso
相关文章
相关标签/搜索