-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
I'd like to suggest that enumerable strings be converted to unions.
For example:
<!-- ... -->
<element maxOccurs="1" minOccurs="0" name="adUnitView" type="tns:AdUnitView"/>
<!-- ... -->
<simpleType name="AdUnitView">
<restriction base="xsd:string">
<enumeration value="TOP_LEVEL"/>
<enumeration value="FLAT"/>
<enumeration value="HIERARCHICAL"/>
</restriction>
</simpleType>Would become:
/** AdUnitView|xsd:string */
adUnitView?: 'TOP_LEVEL' | 'FLAT' | 'HIERARCHICAL'Rather than the current implementation:
/** AdUnitView|xsd:string|TOP_LEVEL,FLAT,HIERARCHICAL */
adUnitView?: stringMetadata
Metadata
Assignees
Labels
No labels