美文网首页
(一) typescript环境准备

(一) typescript环境准备

作者: 走码人 | 来源:发表于2023-05-14 15:42 被阅读0次

安装typescript

npm install -g typescript

安装完成后运行 tsc -V 查看版本

安装ts-node

npm install ts-node -g

vscode 安装 CodeRunner

image.png

第一个ts文件-hello.ts

创建文件hello.ts

console.log('hello typescript!')

相关文章

网友评论

      本文标题:(一) typescript环境准备

      本文链接:https://www.haomeiwen.com/subject/gmepsdtx.html