technical

TypeScript's evolution is fascinating

Watching TypeScript evolve from "JavaScript with types" to "a better JavaScript" has been incredible.

The latest features feel like magic:

  • Template literal types that actually work
  • Const assertions that preserve exact values
  • Satisfies operator for perfect inference
const themes = {
  light: { bg: '#fff', text: '#000' },
  dark: { bg: '#000', text: '#fff' }
} as const satisfies Record<string, { bg: string; text: string }>

// themes.light.bg is '#fff', not string 🎉

We're living in the golden age of developer tooling.

#typescript#javascript#developerexperience

Enjoying these thoughts? There's more where this came from.

View all thoughts