Skip to main content

Advanced TypeScript: Generics, Types and Go Compiler

Advanced TypeScript: conditional generics, mapped types, template literal types, type-level programming, the new Go compiler, and migration strategies for enterprise codebases.

8Articles154 minTotal reading timeAdvancedLevel
TypeScriptgenericstypescompilerenterprise

Series Articles

  1. 1

    1 - TypeScript 5.x: All New Features from 5.0 to 5.9

    Complete overview of all TypeScript features from version 5.0 to 5.9: decorators, const type parameters, satisfies operator and much more.

  2. 2

    2 - Advanced Generics: Variance, Constraints and Infer

    Master advanced TypeScript generics: covariance, contravariance, conditional constraints, infer keyword and real-world patterns.

  3. 3

    3 - Mapped Types, Conditional Types and Template Literals

    Complete guide to Mapped Types, Conditional Types and Template Literal Types: the most powerful constructs of TypeScript's type system.

  4. 4

    4 - TypeScript Decorators post-TC39 Stage 3

    The new TypeScript 5.0+ decorators based on the TC39 Stage 3 proposal: syntax, patterns and comparison with legacy decorators.

  5. 5

    5 - Typed Error Handling: the Result<T, E> Pattern

    How to implement type-safe error handling in TypeScript with the Result pattern, discriminated unions and never type to eliminate unhandled exceptions.

  6. 6

    6 - TypeScript Without Compilation: Running .ts with Node.js

    How to execute TypeScript files directly without compilation: Node.js --strip-types, Deno, Bun and tsx. Comparison and practical guide.

  7. 7

    7 - The Native TypeScript Compiler in Go: What Changes

    The new TypeScript compiler rewritten in Go: 10x faster, what it means for developers, timeline and impact on projects.

  8. 8

    8 - TypeScript in Monorepo: Nx, Turborepo and Best Practices

    How to organize TypeScript projects in monorepo with Nx and Turborepo: structure, caching, dependency graph and best practices.

Test your knowledge!

Have you read all the articles? Check how much you've learned by taking this series' quizzes.

Take the quiz!