'any' Considered Harmful, Except For These Cases
π° typescript
Good advice to not send just a screenshot of your borken code ;)
weeklyfoo #22 / 2024-03-04A 10x Faster TypeScript
Today Iβm excited to announce the next steps weβre taking to radically improve TypeScript performance.
weeklyfoo #76 / 2025-03-17A checklist for your tsconfig.json
In order to feel more confident about my tsconfig.json, I decided to go through the tsconfig.json documentation, collect all commonly used options and describe them below
weeklyfoo #68 / 2025-01-19Adding type safety to object IDs in TypeScript
Thatβs a neat approach: for example if you prefix your user ids with user_ you can implement a type check for it.
weeklyfoo #18 / 2024-02-05Announcing TypeScript 5.6
Clean React with TypeScript
How TypeScript can help you to implement React components.
weeklyfoo #52 / 2024-09-30Enhancing TypeScript
Essential tsconfig.json options you should use
Explicit Resource Management: Exploring JavaScript's and TypeScript's new feature
<await using something = await something()> explained
weeklyfoo #16 / 2024-01-22How TypeScript can help in modelling business workflows
Interesting approach to implement workflows. Feels kind of overengineered but I like the concept. Especially if applications and workflows grow this would be very benificial.
weeklyfoo #18 / 2024-02-05Hyper-Typing
In this article, I talk about an inherent trade-off in TypeScriptβs type system: stricter types are safer, but often more complex.
weeklyfoo #85 / 2025-05-19Learn Zod So You Can Trust Your Data and Your Types
Zod is a convenient TypeScript validation library that lets you define how data should look, validate some data, and then enjoy the confidence of validated data with accurate types.
weeklyfoo #76 / 2025-03-17Michigan TypeScript Founder Successfully Runs Doom Inside TypeScript's Type System
Michigan TypeScript founder Dimitri Mitropoulos implements WebAssembly runtime in TypeScript types, enabling Doom to run after processing 177 terabytes of type definitions.
weeklyfoo #74 / 2025-03-03Migrating 160,000 Lines of Production Banking JavaScript to TypeScript with Zero Downtime
TypeScript has become the de facto standard for building robust, maintainable, and scalable JavaScript applications. Yet, migrating a large production codebase to TypeScript can be a daunting task, especially when youβre dealing with 160,000 lines of mission-critical JavaScript and users with real money in your system, and their tax returns to submit.
weeklyfoo #74 / 2025-03-03My Backend Stack Is Just TypeScript + Postgres. Hereβs Why Thatβs Enough
Most people overthink their backend way too early. You start building a new product and suddenly youβre researching Kafka, Redis, background workers, message queues, analytics pipelines, caching layers, and five microservices. But if youβre being honest, you probably donβt need most of that.
weeklyfoo #82 / 2025-04-28Node.js Now Supports TypeScript By Default
Speeding up the JavaScript ecosystem - Isolated Declarations
TypeScriptβs new isolated declaration feature is a game changer for sharing code among developers.
weeklyfoo #41 / 2024-07-14Testing Frontend
Lessons from over a million lines of TypeScript at Palantir
weeklyfoo #53 / 2024-10-07The TSConfig Cheat Sheet
Total TypeScript Essentials
Essentials is a book for devs of all levels to learn advanced type manipulation and real-world application development patterns in TypeScript.
weeklyfoo #41 / 2024-07-14TypeScript - Branded Types
TypeScript 5.5 - A Blockbuster Release
Typescript support in Nodejs
It is possible to execute TypeScript files by setting the experimental flag βexperimental-strip-types.
weeklyfoo #43 / 2024-07-29Write your own Zod
If youβre interested how zod works under the hood and think about writing your own zod, then this is a great starting point.
weeklyfoo #2 / 2023-10-16