typescript入门
文章目录
##序 选择typescript的原因很简单,它出自Delphi、C#之父Anders Hejlsberg之手。对于熟悉java的开发者来说,可以继承之前的后端开发的基本概念,比如DI。
##安装
npm install -g typescript
##hello world
vim hello.ts
console.log("hello world!")
运行
tsc hello.ts
node hello.js
或者合二为一
ts-node hello.ts
##docs
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册⭐️ Admin快速开发: https://show.cool-admin.com/
赞 0⭐️ 官方文档: https://cool-js.com
赞 0⭐️ chatgpt在线体验: https://cool-js.com/ai/chat-vip/index.html?r=helloworld
赞 0