A Super Quick TypeScript Overview
* Superset of JavaScript with static typing
* Support for things like interfaces, generics, unions, etc.
* Pretty great tooling (errors at compile-time!)
interface Point { x: number; y: number; } function logPoint(p: Point) { console.log(`${p.x}, ${p.y}`); } // logs "12, 26" const point = { x: 12, y: 26 }; logPoint(point);
By Cameron Sampson