Tier Type
How faithfully a generated construct represents its TypeScript source, per `docs/plans/generator-type-mapping.md` ยง1. Declaration order is severity order: a symbol's tier is the worst tier among its findings, and structural comparison on this type is that "worst".
Union cases
| Union case |
Description
|
Full Usage:
Ergonomic
|
Meaning preserved, spelling made idiomatic - e.g. `null | undefined` hoisted to `option`. |
Full Usage:
Escape
|
The construct is not represented; the consumer is on their own. |
Full Usage:
Exact
|
The F# type accepts and rejects exactly what TypeScript does. |
Full Usage:
Widened
|
Information TypeScript had was dropped - e.g. a union collapsed to `obj`. |
Instance members
| Instance member |
Description
|
Full Usage:
this.IsErgonomic
Returns: bool
|
|
Full Usage:
this.IsEscape
Returns: bool
|
|
Full Usage:
this.IsExact
Returns: bool
|
|
Full Usage:
this.IsWidened
Returns: bool
|
|