Sci-Map.org
ExploreAreasAboutRegisterLogin

Topic

Tagged Union Types

  • Concept

TypeScript 2.0 implements a rather useful feature: tagged union types, which you might know as sum types or discriminated union types from other programming languages. A tagged union type is a union type whose member types all define a discriminant property of a literal type.

No SubTopics found

0

Covered by

Learn X in Y minutes : Where X=TypeScript

learnxinyminutes.com/docs/type...

4.5/5

15 minutes

This article focuses only on TypeScript extra syntax compared to regular JavaScript

  • minimalist
  • syntax

SubTopics

No SubTopics found

© 2021 Sci-Map.org

Github

Twitter

Forum

AboutContact