TypeScript guides
Every TypeScript article in the library in slug order, with the full list on one page so nothing is buried behind pagination.
20 guides · Page 1 of 1
- TypeScript Ambient Declarations: .d.ts Files, declare, and declare global
- TypeScript as const: Const Assertions, Readonly Tuples, and Literal Types
- TypeScript Branded Types: Nominal Typing, Type Tags, and Validation
- TypeScript Decorators: Stage 3 Syntax, Method Decorators, and Metadata
- TypeScript Discriminated Unions: Exhaustiveness Checking and the never Type
- TypeScript Enums: Numeric, String, const Enums, and Alternatives
- TypeScript Function Overloads: Syntax, Signatures, and Implementation
- TypeScript Generic Parameter Defaults: Syntax, Precedence, and Inference
- TypeScript Generics: Type Constraints, extends Keyof, and Default Types
- TypeScript Indexed Access Types: Syntax, Lookup Types, and Arrays
- TypeScript infer Keyword: Conditional Types, ReturnType, and Unwrapping
- TypeScript keyof and typeof: Object Type Queries and Property Keys
- TypeScript Mapped Types: Syntax, Key Remapping with as, and Modifiers
- TypeScript Namespaces vs Modules: Syntax, Declaration Merging, and Use Cases
- TypeScript satisfies Operator: Syntax, vs Type Annotations, and as const
- TypeScript Template Literal Types: Syntax, String Manipulation, and Patterns
- TypeScript Type Assertions: as Syntax, Non-Null Assertion, and Safety
- TypeScript Type Narrowing: Type Guards, in Operator, and Discriminated Unions
- TypeScript unknown vs any: Type Safety, Type Guards, and Best Practices
- TypeScript Utility Types: Pick, Omit, Partial, and Record Explained