标签:col 版本 命令 type strong str 使用 通过 安装
安装 typescript
cmd: npm install -g typescript
安装成功以后 就可以使用 tsc 命令 例如 tsc -V 查看当前typescript的版本
typescript文件 的运行 需要进行编译成为js 文件,然后通过node 运行js 文件
编译命令:tsc xxx.ts 运行命令 node xxx.js
标签:col 版本 命令 type strong str 使用 通过 安装
原文地址:https://www.cnblogs.com/duanyiwen/p/11789242.html