Class UnionWriter
java.lang.Object
com.vaadin.hilla.generator.typescript.UnionWriter
Writes the file saying which of its subtypes a value of a polymorphic type
can be, which is what lets TypeScript tell them apart by the discriminator.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SUFFIX
The suffix both the file and the type of a union go by, on top of the name of the type the subtypes belong to.- See Also:
-
-
Constructor Details
-
UnionWriter
public UnionWriter()
-
-
Method Details
-
write
-