Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Sep 9, 2018. It is now read-only.
This repository was archived by the owner on Sep 9, 2018. It is now read-only.
There was an error while loading. Please reload this page.
Best way to do it is via an interface
class Rabbit implements AnimalUnion {...}
class Dog implements AnimalUnion {...}
this will generate
union Animal = Rabbit | Dog
My 2c