typescript 学习
https://github.com/iamshaunjp/typescript-tutorial
typescript是一种编程语言,可以用作JavaScript的替代品,现在它实际上被称为超集JavaScript语言
一 安装 TypeScript
npm install -g typescript
1.1 我们需要编译的时候就执行
tsc sandbox.ts
他会根据ts文件编译到同名的js文件
1.2 让他处于一直监听状态
tsc sandbox.ts -w
Here are some websites with TypeScript examples:
- TypeScript documentation: https://www.typescriptlang.org/docs
- TypeScript Playground: https://www.typescriptlang.org/play
- React with TypeScript example: https://github.com/Microsoft/TypeScript-React-Starter
- Angular with TypeScript example: https://angular.io/guide/typescript-configuration
- Node.js with TypeScript example: https://wanago.io/2018/12/03/typescript-express-tutorial-routing-controllers-middleware/
- Express with TypeScript example: https://developer.okta.com/blog/2018/11/15/node-express-typescript
These resources can help you learn TypeScript and provide examples for different use cases.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!