获取 TypeScript 的完整工作流程
The complete workshop for picking up TypeScript.
This workshop is a mirror of the current TypeScript stable release. If something is missing, create an issue and it will be included ASAP.
You've cloned this repo, great! Now npm install and open your IDE of choice (I use Atom and atom-typescript). At any point looking through these, I recommend you play around and take a look at output/ (build with npm run build) for the JavaScript output.
Always use let and const over var, with const preferred over let. TypeScript will handle this properly and the compiler will error if const is being reassigned. const and let are introduced in Chapter 3.
暂无开放 Issues,或尚未同步最近议题。