TypeScript
TypeScript is JavaScript with a static type system added on top. It compiles to plain JavaScript and runs anywhere JS runs. The type system is structural — compatibility is determined by shape, not by declared inheritance — and it offers deep type inference so you often don’t need to annotate explicitly.
Notes
- ts_type_system — basic types, inference, any/unknown/never, type aliases
- ts_unions_and_intersections — union types, intersections, literal types, template literals
- ts_objects_and_interfaces — object types, interfaces, discriminated unions, dynamic keys
- ts_classes — access modifiers, abstract classes, implements
- ts_generics — generic functions, constraints, type inference
- ts_type_narrowing — narrowing, type predicates, assertions, exhaustive checks
- ts_advanced_types — conditional types, mapped types, infer
- ts_utility_types — Partial, Required, Pick, Omit, Record, Readonly
- ts_enums_and_tuples — enums, const enums, tuples
- ts_local_dev — tsconfig, declaration files, Vite setup