Skip to main content
hhow09's Blog

Advance TypeScript

  1. satisfies operator matches some type, but also want to keep the most specific type of that expression for inference purposes.
  2. Branded types because TypeScript doesn't have nominal typing support.