Migrating to TypeScript
As Typescript works side-by-side with JavaScript easily and conveniently, the overhead to start using Typescript is very low. We'll discuss some topics related to moving a conventional JavaScript app to TypeScript, while striking the balance between capability and productivity.
-
Migrating to TypeScriptAdding Types Incrementally
One of the core requirement of TypeScript is that it must be conveniently usable side-by-side with regular JavaScript. We'll look at what it would take to add TypeScript to an existing project, and then incrementally add type information over time.
-
Migrating to TypeScriptUsing TypeScript with Babel
You will often use TypeScript and Babel together. Because both of these libraries are responsible for taking something other than browser-friendly JavaScript and transforming it to ES5, there can be some strange behavior depending on how things are set up. We'll provide some guidelines for a setup that maximizes the benefit you get from both of these tools while minimizing confusion.
-
Migrating to TypeScriptWrap up and recap
We'll recap everything we've covered today, and provide some recommendations for further reading and learning.