All blogs / JavaScript / TypeScript
Effective TypeScript
Effective TypeScript: 83 Specific Ways to Improve Your TypeScript
- Posts
- 55 from 6 Mar 2020 to 19 Dec 2025
- Posting
- now and then (2 in the last year)
- Kind
- personal blog
- Feed
- https://effectivetypescript.com/atom.xml
2025 2
2024 11
- Item 74: Know How to Reconstruct Types at Runtime
- Notes on TypeScript 5.6
- A keyof puzzle
- A TypeScripter's Take on Zig (Advent of Code 2023)
- TypeScript 5.5: A Blockbuster Release
- Item 36: Use a Distinct Type for Special Values
- Now Available: Effective TypeScript, Second Edition
- The Making of a TypeScript Feature: Inferring Type Predicates
- Flow Nodes: How Type Inference Is Implemented
- The Hidden Side of Type Predicates
- Effective TypeScript Talk at Etsy (Dec 2020)
2023 10
- Don't Write Traditional Getter and Setter Methods in JavaScript and TypeScript
- Using infer to unpack nested types
- Overload on the type of this to specialize generics (The Lost Item)
- The Saga of the Closure Compiler, and Why TypeScript Won
- TypeScript and SQL: Six Ways to Bridge the Divide
- Recommendation Update: ✂️ Use knip to detect dead code and types
- Notes on TypeScript 5.1
- Item 30: Don’t Repeat Type Information in Documentation
- A first look at Deno through the Advent of Code 2022
- Notes on TypeScript 5.0 beta
2022 6
2021 9
- TypeScript Types: The First 500 Years (tsconf 2021 talk)
- Exclusive Or and the Optional never Trick
- In defense of interface: Using declaration merging to disable "bad parts"
- The Seven Sources of Unsoundness in TypeScript
- The trouble with Jsonify: Unify types instead of modeling small differences
- Advent of Code 2020, this time in Rust
- Four words to avoid in TypeScript writing
- Generic Tips Part 3: Avoid Repeating Type Expressions
- Top Posts of 2020
2020 17
- Generic Tips Part 2: Intersect what you have with whatever TypeScript wants
- Generic Tips Part 1: Use Classes and Currying to create new inference sites
- TypeScript Splits the Atom!
- Finding dead code (and dead types) in TypeScript
- Repeat yourself a little less: Strategies for mitigating prop drilling with React and TypeScript
- TypeScript Exercises
- The Golden Rule of Generics
- Writing a safe querySelector: the one-way street from values to types
- Type-safe blogs and books with literate-ts
- Use typed identity functions to guide type inference
- Item 54: Know How to Iterate Over Objects
- Unionize and Objectify: A Trick for Applying Conditional Types to Objects
- Item 19: Avoid Cluttering Your Code with Inferable Types
- What's the type of JSON.parse(JSON.stringify(x))?
- Item 31: Push Null Values to the Perimeter of Your Types
- Item 41: Understand Evolving any
- Welcome to Effective TypeScript!