Functions and structure
4 lessons in the TypeScript course.
Full TypeScript course · Search this topic · Programming
- Arrays and TuplesType lists of values and fixed-length pairs with arrays and tuples.
- FunctionsAnnotate parameters and return types for clear, checked call sites.
- Generics BasicsWrite reusable functions and types that work with many element types.
- ClassesDefine classes with typed fields, constructors, and access modifiers.