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
相關文章
相關標籤/搜索