Home > @skunkteam/types > UnionType > enumerableLiteralDomain
The set of valid literals if enumerable.
Signature:
readonly enumerableLiteralDomain: Set<LiteralValue> | undefined;
If a Type (only) accepts a known number of literal values, these should be enumerated in this set. A record with such a domain as key-type