TypeScript 02 · TypeScript basics

Types that change (unions and narrowing)

Union types, narrowing with conditions, literal types, discriminated unions with a completeness check and unknown for data from outside.

Loading lesson…