Recent articles

TypeScript: Unexpected intersections

Stefan Baumgartner

Written by @ddprrt

Posted in TypeScript, JavaScript

Sometimes when writing TypeScript, some of the things you’d usually do in JavaScript work a little different and cause some weird, and puzzling situations. Sometimes you just want to assign a value to an object property and get a weird error like “Type ‘string | number’ is not assignable to type ‘never’. Type ‘string’ is not assignable to type ‘never’.(2322)”

Don’t worry, this isn’t something out of the ordinary, it’s just something where “unexpected intersection types” make you think a little bit more about the type system.

Upgrading Node.js dependencies after a yarn audit

Posted in JavaScript, Node.js, Tooling

TypeScript: Array.includes on narrow types

Posted in TypeScript, JavaScript

TypeScript + React: Typing Generic forwardRefs

Posted in TypeScript, React

shared, util, core: Schroedinger's module names

Posted in TypeScript, JavaScript, Architecture

Learning Rust and Go

Posted in Rust, Go

TypeScript: Narrow types in catch clauses

Posted in TypeScript

Dynamic Static Typing at Smashing Magazine

Posted in TypeScript

Want more? Check out all 162 articles
Coding soundtrack

The Good, The Bad, The Ugly

Cinema

Rob Crowley: GraphQL, gRPC or REST? Resolving the API Developer's Dilemma

Guide

TypeScript + React

Stay up to date!

3-4 updates per month, no tracking, spam-free, hand-crafted. Our newsletter gives you links, updates on fettblog.eu, conference talks, coding soundtracks, and much more.