Skip to main content

EntityDomainReference

A parsed bare-domain reference. Frozen -- treat instances as values.

Index

Properties

readonly__entityDomainReference

__entityDomainReference: true

Type-only brand; no such property exists at runtime. It keeps a hand-built literal from passing as a reference the grammar has validated, so one comes only from tryParseDomain, parseDomain or forKnownDomain. A string-literal key rather than a unique symbol, as on EntityReference, so the declarations from two physical copies of this module still agree structurally.

readonlydomain

domain: string

The domain this reference names. At least three lowercase ASCII letters.

Page Options