-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
TypeScript
Zhuohuan LI edited this page Nov 3, 2016
·
2 revisions
Typescript is JavaScript that scales. It comes from Microsoft and is the most popular language in Google Angular.
Wechaty is fully typed by TypeScript since v0.5, 12th Oct 2016. And got benefits as the following:
- Better async coding style:
async
/await
(now we useco
module) - Strong type definition/checking for data structure
- Auto-completion/Static syntax check with VSCode IDE
- Static variable that can initialize inside class
- Public/private setting for methods/member variables
- other benefits...
The lastest javascript version is: v0.4.0(2016/10/9)
- The Future of Declaration Files
- What's new in TypeScript
- Why we decided to move from plain JavaScript to TypeScript for Babylon.js
- Migrating from JavaScript
VSCode is highly recommended as developing IDE for Wechaty with TypeScript because we can get the benefit of intelligent code completion, parameter info, and member lists.
Getting Started
FAQ
Troubleshooting
Contributors
Wechaty Developer Program
API
Log
Tests
Badge
Projects Using Wechaty
Links
Related Technologies