Articles
TypeScript articles from fettblog.eu — real-world TypeScript patterns, tips, and deep dives that complement the book.
2025
- Feb 3, 2025 TypeScript's
erasableSyntaxOnly Flag
2024
- Mar 5, 2024 The
never type and error handling in TypeScript
2023
- Jul 17, 2023 5 Inconvenient Truths about TypeScript
- Nov 7, 2022 Announcing the TypeScript Cookbook
2022
- May 11, 2022 TypeScript: Iterating over objects
- Jan 10, 2022 How not to learn TypeScript
2021
- Nov 30, 2021 TypeScript: The humble function overload
- Sep 15, 2021 TypeScript + React: Children types are broken
- Sep 14, 2021 TypeScript: In defense of
any
- Jul 21, 2021 TypeScript: Unexpected intersections
- Jul 6, 2021 TypeScript:
Array.includes on narrow types
- Apr 13, 2021 TypeScript + React: Typing Generic
forwardRefs
- Mar 2, 2021 TypeScript: Narrow types in catch clauses
- Jan 20, 2021 TypeScript: Low maintenance types
- Jan 7, 2021 Tidy TypeScript: Name your generics
2020
- Nov 24, 2020 Tidy TypeScript: Avoid traditional OOP patterns
- Nov 20, 2020 Tidy TypeScript: Prefer type aliases over interfaces
- Nov 19, 2020 Tidy TypeScript: Prefer union types over enums
- Aug 19, 2020
this in JavaScript and TypeScript
- Aug 14, 2020 TypeScript and ECMAScript Modules
- Jul 30, 2020 TypeScript + React: Why I don't use
React.FC
- Jul 28, 2020 TypeScript + React: Component patterns
- Jul 17, 2020 TypeScript: Augmenting global and
lib.dom.d.ts
- Jul 6, 2020 Vite with Preact and TypeScript
- Jun 29, 2020 TypeScript: Union to intersection type
- Jun 19, 2020 TypeScript: Variadic Tuple Types Preview
- Jun 17, 2020 TypeScript: Improving
Object.keys
- Mar 25, 2020 TypeScript + React: Typing custom hooks with tuple types
- Feb 6, 2020 TypeScript: Assertion signatures and
Object.defineProperty
- Feb 3, 2020 TypeScript: Check for object properties and narrow down type
2019
- Sep 10, 2019
boolean in JavaScript and TypeScript
- Sep 6, 2019
void in JavaScript and TypeScript
- Sep 4, 2019 Symbols in JavaScript and TypeScript
- Aug 28, 2019 Why I use TypeScript
- Aug 27, 2019 TypeScript + React: Extending JSX Elements
- Aug 26, 2019 TypeScript: Validate mapped types and const context
- Aug 19, 2019 TypeScript: Match the exact object shape
- Aug 15, 2019 TypeScript: The constructor interface pattern
- Jul 16, 2019 TypeScript without TypeScript — JSDoc superpowers
- Jul 15, 2019 TypeScript: Mapped types for type maps
- Feb 13, 2019 TypeScript: Ambient modules for Webpack loaders
2018
- Dec 12, 2018 TypeScript: Built-in generic types
- Nov 29, 2018 TypeScript: Type predicates
- Mar 16, 2018 TypeScript and Substitutability
- Mar 14, 2018 Debugging Node.js apps in TypeScript with Visual Studio Code