const Events = Schema.Union(Schema.TaggedStruct("Foo", {}), Schema.TaggedStruct("Bar", {}))
const getTags = (events: Events): Array<"Foo" | "Bar"> => { ... }
const Events = Schema.Union(Schema.TaggedStruct("Foo", {}), Schema.TaggedStruct("Bar", {}))
const getTags = (events: Events): Array<"Foo" | "Bar"> => { ... }