io.github.scalats.core.DeclarationMapper
Maps UnionDeclaration as simple TypeScript union type (rather than interface as default).
UnionDeclaration
Declared fields and super interface are ignored.
the parent declaration mapper
the current settings
the resolved type mapper
the field mapper
the transpiled declaration to be emitted
the printer to output the code
Some print operation, or None if declaration is not handled
declaration
Maps
UnionDeclaration
as simple TypeScript union type (rather than interface as default).Declared fields and super interface are ignored.