Logo Xantham

FsTaggedUnionDecl Type

A discriminated union the checker proved is tagged (D4, §4.5(2)): every member is an object type carrying the same property, and that property's type is a distinct string literal in each. Fable erases the DU to a plain object literal, so this is Exact *and* pattern-matchable - by far the best consumer experience, which is why §4.5 says to detect it aggressively.

Record fields

Record Field Description

Cases

Full Usage: Cases

Field type: FsTaggedCase list
Field type: FsTaggedCase list

Docs

Full Usage: Docs

Field type: string
Field type: string

Name

Full Usage: Name

Field type: string
Field type: string

Order

Full Usage: Order

Field type: DeclOrder option
Field type: DeclOrder option

Tag

Full Usage: Tag

Field type: string

The discriminant property's name, as TypeScript spells it.

Field type: string

Tags

Full Usage: Tags

Field type: JSDocTagInfo list
Field type: JSDocTagInfo list

Type something to start searching.