Practical TypeScript Migration
This course teaches practical techniques for migrating existing projects from JavaScript to TypeScript.
What you'll learn
In Practical TypeScript Migration, Steve Ognibene converts a web application that uses popular libraries like jQuery and Knockout to TypeScript. The example app is entirely HTML, CSS, and JavaScript, so this course is equally applicable to users of any server-side framework. Steve recommends migration techniques that work well, and highlights some things to avoid. He also makes sure to cover related subjects like source control and preparing your team. Once the application is converted over, Steve demonstrates the code refactoring capabilities that TypeScript enables, and then assembles a TypeScript build script using Grunt and other Node.js tools. After watching this course, you will be well prepared to migrate your existing JavaScript code to TypeScript.
Table of contents
- Reimplementing Coins as a Class 7m
- Migrating CoinCounterViewModel as a Function 7m
- Converting CoinCounterViewModel to a Class 7m
- Lambdas and How 'this' Works in TypeScript 7m
- Completing the Migration and Internal Modules 6m
- TypeScript Internal Modules vs. External Modules 7m
- Separating Coin and ViewModel Concerns 4m
- Extracting a Class from CoinCounterViewModel 7m