This repo follows a class on TypeScript. This will act as a refresher course.
TypeScript adds...
- Types
- Next-gen JavaScript Features (compiled down for older browsers)
- Non-JavaScript Features like Interfaces or Generics
- Meta-Programming Features like Decorators
- Rich Configuration Options
- Modern Tooling that helps even in non-TypeScript projects
- TypeScript Basics
- Compiler & Configuarion Deep Dive
- Next-gen JavaScript features
- Classes and Interfaces
- Advanced Types and TypeScript Features
- Generics Feature
- Decorators
- Namespaces and Modules
- Webpack and TypeScript
- Third-Party Libraries and TypeScript
- number (1, 5.3, -10) All numbers, no differentiation between floats or integers
- string ('Hi', "Hi",
Hi
) All Text Values - boolean (true, false) Just these two, no 'truthy' or 'falsy' values
- object ( {age: 20} ) Any JS object, more specific types are possible
- Array ( [1,2,3] ) Any JS array, type can be flexible or strict
- Tuple ( [1,2] ) Added by TS, Fixed Length array
- Enum ( enum { NEW, OLD} ) Added by TS, Automatically enumerated global constant identifiers
- Any ( * ) Any kind of value, no specific type assignment