How TypeScript solved its global <code>Iterator</code> name clash
How TypeScript resolved the naming conflict between its existing Iterator type and JavaScript's new global Iterator class from ECMAScript 2025.
How TypeScript resolved the naming conflict between its existing Iterator type and JavaScript's new global Iterator class from ECMAScript 2025.
Explores methods for testing TypeScript types, including libraries like asserttt and potential built-in language features for type-level testing.
Exploring how to use union and intersection types with objects in TypeScript, including discriminated unions for type narrowing.
An overview of TypeScript for JavaScript developers, explaining its syntax, how it runs, and IDE benefits.
Explores how to test complex TypeScript types using type-level assertions and the asserttt npm package, including implementation details.
Exploring the TypeScript `never` type, its role as a bottom type, and practical applications like union filtering and exhaustiveness checks.
Explains how TypeScript handles JavaScript symbols at the type level, covering unique symbols, type inference, and common pitfalls.
A guide to TypeScript conditional types, explaining their syntax, usage with examples, and how they work with union and generic types.
A guide to TypeScript mapped types, explaining their syntax and use cases for transforming objects and tuples.
Explains TypeScript's `satisfies` operator, showing how it checks type compatibility without widening inferred types, with examples.
Explains how to use TypeScript's `readonly` keyword to create immutable properties and types, with examples and compiler behavior.
A guide to advanced tuple type manipulation in TypeScript, covering syntax, variadic elements, and type-level computations.
Explores TypeScript enums: their functionality, practical use cases, and alternative approaches for developers.
A developer shares five hard truths about TypeScript, including its relationship to JavaScript and the complexity it adds.
An educational guide explaining the GraphQL Type System, including scalar types, objects, interfaces, and unions.
A tutorial explaining TypeScript Generics, starting with basic functions and progressing to abstract, reusable code.
Common mistakes to avoid when learning TypeScript, especially for developers with JavaScript or other language backgrounds.
Exploring TypeScript's 'any' type, its role as a top type, and how 'unknown' provides a safer alternative for type handling.
Explores TypeScript function overloads, their limitations, and how newer features like variadic tuple types offer better solutions.
A defense of using the 'any' type in TypeScript, arguing it's a practical tool for migration, third-party libraries, and development flexibility.